summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
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.bootup
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.bootup')
-rwxr-xr-xetc/rc.bootup5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 25d71e8..1504269 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -48,7 +48,10 @@
if(does_interface_exist($lan_if) == false) $do_assign = 1;
if(does_interface_exist($wan_if) == false) $do_assign = 1;
- if($do_assign == 1) system("/etc/rc.initial.setports");
+ if($do_assign == 1) {
+ $noreboot = true;
+ require("/etc/rc.initial.setports");
+ }
/* convert configuration, if necessary */
convert_config();
OpenPOWER on IntegriCloud