summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/config.inc')
-rw-r--r--etc/inc/config.inc10
1 files changed, 7 insertions, 3 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index ce4a617..f34799b 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -553,6 +553,8 @@ function config_unlock() {
}
function set_networking_interfaces_ports() {
+ global $noreboot;
+
$fp = fopen('php://stdin', 'r');
$iflist = get_interface_list();
@@ -694,9 +696,9 @@ EOD;
echo "OPT" . ($i+1) . " -> " . $optif[$i] . "\n";
}
-echo <<<EOD
+ if(!$noreboot) echo "\npfSense will reboot after saving the changes.\n";
-pfSense will reboot after saving the changes.
+echo <<<EOD
Do you want to proceed [y|n]?
EOD;
@@ -743,9 +745,11 @@ EOD;
write_config();
+ if(!$noreboot) echo "\npfSense is now rebooting.\n";
+
echo <<<EOD
-pfSense is rebooting now.
+
EOD;
OpenPOWER on IntegriCloud