summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-11-02 21:16:21 +0000
committerErmal <eri@pfsense.org>2010-11-02 21:16:42 +0000
commit729931965e68a3c8ab1de307446410f6810c4433 (patch)
tree41330a56bc61cf772e76366b6095a3ce55496ff0 /etc/rc
parent6bc1e79a7dd5d7498adec42045382e7c5804e530 (diff)
downloadpfsense-729931965e68a3c8ab1de307446410f6810c4433.zip
pfsense-729931965e68a3c8ab1de307446410f6810c4433.tar.gz
Protect from strange situations on bootup by testing for is_array(). Do not add anymore the 127.0.0.2 route its not needed anymore. Also during bootup bring up all interfaces so the assignment process can deal with them(Possibly should be done in another code flow!).
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index ab1b460..c4c1df3 100755
--- a/etc/rc
+++ b/etc/rc
@@ -349,6 +349,9 @@ echo -n "Launching the init system..."
/bin/rm -f /cf/conf/backup/backup.cache
/bin/rm -f /root/lighttpd*
/usr/bin/touch $varrunpath/booting
+for iface in `/sbin/ifconfig -l`; do
+ /sbin/ifconfig $iface up
+done
/etc/rc.bootup
# If a shell was selected from recovery
OpenPOWER on IntegriCloud