diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-09 02:53:53 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-09 02:53:53 +0000 |
commit | c73dcb03645c4dffb397a1a279f9bb447d541e67 (patch) | |
tree | c1c2f0ebe243397c0032970aeec24e101943d25f /etc/rc.bootup | |
parent | 2e85f5ed7781dfaf5d7ff5fef7d41c5dc1920242 (diff) | |
download | pfsense-c73dcb03645c4dffb397a1a279f9bb447d541e67.zip pfsense-c73dcb03645c4dffb397a1a279f9bb447d541e67.tar.gz |
Use new sync on boot script
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-x | etc/rc.bootup | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup index 00b30c7..96770e6 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -173,11 +173,8 @@ /* configure console menu */ system_console_configure(); - /* check if the wan interface is up, this might delay upto 10 seconds */ - if(is_wan_interface_up("wan")) { - /* Sync the system time at boot before service startup */ - sync_system_time(); - } + /* Launch on bootup and keep trying to sync. Exit once time/date has been sync'd. */ + mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh"); /* start dyndns service */ services_dyndns_configure(); @@ -281,4 +278,4 @@ unlink("{$g['varrun_path']}/booting"); $g['booting'] = FALSE; -?> +?>
\ No newline at end of file |