This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/ntp/fs/etc/rc.d/ntpdate

16 lines
181 B
Plaintext
Raw Normal View History

2013-07-13 17:19:22 +01:00
start()
{
n=0
while [ $n -lt 30 ]; do
/usr/bin/ntpdate "$cfg_ntp_server"
if [ $? -eq 0 ]; then
break;
fi
done
}
stop()
{
true
}