Loop assign interfaces option until the user gets the correct configuraiton.

Ticket #749
This commit is contained in:
Scott Ullrich 2005-12-27 19:26:39 +00:00
parent ec9f26f2a6
commit 76612f4625
2 changed files with 3 additions and 1 deletions

View File

@ -1141,6 +1141,8 @@ EOD;
reload_all_sync();
echo " done!\n";
touch("{$g['tmp_path']}/assign_complete");
}
}

View File

@ -81,7 +81,7 @@
$do_assign = 1;
}
}
if($do_assign == 1) {
if($do_assign == 1 and !file_exists("{$g['tmp_path']}/assign_complete")) {
$noreboot = true;
echo " -- Running interface assignment option.\n";
set_networking_interfaces_ports();