You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
311 B

#!/bin/sh
. /etc/init.d/functions
. /etc/init.d/globals
case "$1" in
start)
ntpatboot=$(get_setting network_ntpatboot)
ntpserver=$(get_setting network_ntpserver)
if [ "$ntpatboot" == "true" ]; then
ntpdate ${ntpserver:-0.de.pool.ntp.org}
fi
;;
*)
echo "[$BASENAME] Usage: $0 {start}"
;;
esac