summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-05-08 22:28:49 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-05-08 22:28:49 +0000
commit057ef2f507f5e78b9a0e9997dfb40f08851aaf42 (patch)
treef346513fafbd991e03f16f73c9ed82a1cd9981b7 /etc/rc.bootup
parentd415d821536c6a8e3689fcb344690169b9eac374 (diff)
downloadpfsense-057ef2f507f5e78b9a0e9997dfb40f08851aaf42.zip
pfsense-057ef2f507f5e78b9a0e9997dfb40f08851aaf42.tar.gz
Add a wan interface up check before we start any time syncing.
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 64362bf..b9e3263 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -168,6 +168,9 @@
/* generate resolv.conf */
system_resolvconf_generate();
+ /* check if the wan interface is up, this might delay upto 10 seconds */
+ is_wan_interface_up("wan");
+
/* Sync the system time at boot before service startup */
sync_system_time();
OpenPOWER on IntegriCloud