diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-25 22:25:28 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-25 22:25:28 +0000 |
commit | b425d956eb43055c874cc52d606756f378777bf1 (patch) | |
tree | 800cc724c69f91e7ff42f5b05ffefad8b356986b /etc/rc.bootup | |
parent | d836899344ba232bcec1f197a9cbf4786885c56c (diff) | |
download | pfsense-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-x | etc/rc.bootup | 5 |
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(); |