summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-02 18:28:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-02 18:28:22 +0000
commit43637d9e8fba96750a640e612fac0e1a9c421911 (patch)
treebcbadc2bc95d7aaaaa36efe507c59a44f0acf686
parent698b42ccc63d400548bdb2806f07351794d3c501 (diff)
downloadpfsense-43637d9e8fba96750a640e612fac0e1a9c421911.zip
pfsense-43637d9e8fba96750a640e612fac0e1a9c421911.tar.gz
Do not reboot after reassigning interfaces. Call reload_all_sync()
-rw-r--r--etc/inc/config.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index a3b42b2..ed443a5 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -1036,8 +1036,6 @@ EOD;
echo "OPT" . ($i+1) . " -> " . $optif[$i] . "\n";
}
- if(!$noreboot) echo "\npfSense will reboot after saving the changes.\n";
-
echo <<<EOD
Do you want to proceed [y|n]?
@@ -1095,9 +1093,9 @@ EOD;
EOD;
+ /* resync everything */
+ reload_all_sync();
- if($noreboot <> true)
- system_reboot_sync();
}
}
OpenPOWER on IntegriCloud