]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
ntp should update if no existing config.
authorRoy Marples <roy@marples.name>
Tue, 22 Apr 2008 10:49:59 +0000 (10:49 +0000)
committerRoy Marples <roy@marples.name>
Tue, 22 Apr 2008 10:49:59 +0000 (10:49 +0000)
hook-samples/ntp.sh

index ff8e8fbb306d13e35fd9c71b8403d5fd87184221..616ec16989e8056e36150ba3e2334f2eb31c7911 100644 (file)
@@ -22,7 +22,7 @@ make_ntp_conf()
                echo "server ${x}" >> "${cf}"
        done
        if [ ! -e /etc/ntp.conf ]; then
-               true
+               false   
        elif type cmp >/dev/null 2>&1; then
                cmp -s /etc/ntp.conf "${cf}"
        elif type diff >/dev/null 2>&1; then