vanhofen
6 years ago
4 changed files with 2 additions and 35 deletions
@ -1,17 +0,0 @@ |
|||
#!/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 |
@ -1,17 +0,0 @@ |
|||
#!/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 |
Loading…
Reference in new issue