Skip to content
Snippets Groups Projects
Commit 23df4682 authored by Alessandro Rubini's avatar Alessandro Rubini
Browse files

S70wr_date: bugfix in case no ntp file is there


Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
parent f38348c3
Branches
Tags
No related merge requests found
......@@ -8,7 +8,7 @@ test -f $F || exit 0
S=$(grep 'ntpserver' $F | sed 's/ntpserver//' | head -n 1)
# if none, exit
text -z "$D" && exit 0
test -z "$S" && exit 0
# pick busybox ntpd explicitly, to avoid real ntpd instances
echo "Setting host time using ntpd"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment