summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial.setports
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-25 22:25:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-25 22:25:28 +0000
commitb425d956eb43055c874cc52d606756f378777bf1 (patch)
tree800cc724c69f91e7ff42f5b05ffefad8b356986b /etc/rc.initial.setports
parentd836899344ba232bcec1f197a9cbf4786885c56c (diff)
downloadpfsense-b425d956eb43055c874cc52d606756f378777bf1.zip
pfsense-b425d956eb43055c874cc52d606756f378777bf1.tar.gz
* Require rc.initial.setports if first boot
* Do not reboot if setting ports on first boot
Diffstat (limited to 'etc/rc.initial.setports')
-rwxr-xr-xetc/rc.initial.setports3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.initial.setports b/etc/rc.initial.setports
index 0ebabac..a7f8d33 100755
--- a/etc/rc.initial.setports
+++ b/etc/rc.initial.setports
@@ -229,7 +229,8 @@ pfSense is rebooting now.
EOD;
- system_reboot_sync();
+ if($noreboot <> true)
+ system_reboot_sync();
}
function autodetect_interface($ifname, $fp) {
OpenPOWER on IntegriCloud