mirror of https://github.com/OpenIPC/firmware.git
[no-ci] Fix typo (#1103)
parent
69bd0ec5c5
commit
e1ba943ea0
|
@ -16,6 +16,7 @@ start() {
|
|||
start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" -- $NTPD_ARGS
|
||||
status=$?
|
||||
if [ "$status" -eq 0 ]; then
|
||||
ntpd -q -N -n -d
|
||||
echo "OK"
|
||||
else
|
||||
echo "FAIL"
|
||||
|
@ -29,7 +30,6 @@ stop() {
|
|||
status=$?
|
||||
if [ "$status" -eq 0 ]; then
|
||||
rm -f "$PIDFILE"
|
||||
ntpd -q -N -n -d
|
||||
echo "OK"
|
||||
else
|
||||
echo "FAIL"
|
||||
|
|
Loading…
Reference in New Issue