summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-09 03:09:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-09 03:09:21 +0000
commitef9366bd0fb91efed86c6cb6d3ae946a7bf0d1b7 (patch)
tree7fd2db674873c55dfb1a5d9f27e6487b139e90be /etc/rc.bootup
parent4a40de3cc622aacf2de26873edf2080149a8a974 (diff)
downloadpfsense-ef9366bd0fb91efed86c6cb6d3ae946a7bf0d1b7.zip
pfsense-ef9366bd0fb91efed86c6cb6d3ae946a7bf0d1b7.tar.gz
Move openntpd process up higher
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 96770e6..1be15fc 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -173,6 +173,11 @@
/* configure console menu */
system_console_configure();
+ /* start the NTP client */
+ echo "Starting OpenNTP time client...";
+ system_ntp_configure();
+ echo "done.\n";
+
/* 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");
@@ -246,11 +251,6 @@
/* enable watchdog if supported */
enable_watchdog();
- /* start the NTP client */
- echo "Starting OpenNTP time client...";
- system_ntp_configure();
- echo "done.\n";
-
/* if <system><afterbootupshellcmd> exists, execute the command */
if($config['system']['afterbootupshellcmd'] <> "")
mwexec($config['system']['afterbootupshellcmd']);
OpenPOWER on IntegriCloud