mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add script that will keep trying to set the date time (for bootup) that
will run in the background to help speedup boot times.
This commit is contained in:
parent
1f03d30ce8
commit
3fb60b53b4
10
usr/local/sbin/ntpdate_sync_once.sh
Executable file
10
usr/local/sbin/ntpdate_sync_once.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
NOTSYNCED="true"
|
||||
|
||||
while [ "$NOTSYNCED" = "true" ]; do
|
||||
ntpdate "0.pfsense.pool.ntp.org"
|
||||
if [ "$?" = "0" ]; then
|
||||
NOTSYNCED="false"
|
||||
fi
|
||||
done
|
||||
Loading…
Reference in New Issue
Block a user