Imported sources from subversion.
This commit is contained in:
15
packages/ntp/fs/etc/rc.d/ntpdate
Normal file
15
packages/ntp/fs/etc/rc.d/ntpdate
Normal file
@@ -0,0 +1,15 @@
|
||||
start()
|
||||
{
|
||||
n=0
|
||||
while [ $n -lt 30 ]; do
|
||||
/usr/bin/ntpdate "$cfg_ntp_server"
|
||||
if [ $? -eq 0 ]; then
|
||||
break;
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
true
|
||||
}
|
||||
Reference in New Issue
Block a user