From bb17ff995ee61b2667b57da1444dee8f2a5cc047 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 26 Feb 2005 01:36:27 +0000 Subject: [PATCH] * global the $noreboot variable * do not tell the user the firewall will reboot if $noreboot is set. --- etc/inc/config.inc | 10 +++++++--- etc/rc.bootup | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/etc/inc/config.inc b/etc/inc/config.inc index ce4a6170c3..f34799b940 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 <<