summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-02-20 08:08:04 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-02-20 08:08:04 +0000
commit652cf082209f04b805d0d823fe30a006c2996643 (patch)
tree6a1bb70b64274ba4da6bf3fcddba0fe59d814a08 /etc/rc.bootup
parente89124ac81424349af5b7cfcce96aa7a6b6978bd (diff)
downloadpfsense-652cf082209f04b805d0d823fe30a006c2996643.zip
pfsense-652cf082209f04b805d0d823fe30a006c2996643.tar.gz
force a time sync early in the boot before we start any services.
This especially important for dhcp when used in failover. Let NTPd keep the time in sync.
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 1c251d5..3a02f57 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -140,6 +140,9 @@
/* generate resolv.conf */
system_resolvconf_generate();
+ /* Sync the system time at boot before service startup */
+ sync_system_time();
+
/* configure loopback interface */
interfaces_loopback_configure();
@@ -312,4 +315,4 @@
unlink("{$g['varrun_path']}/booting");
$g['booting'] = FALSE;
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud