From: Roy Marples Date: Tue, 22 Apr 2008 10:49:59 +0000 (+0000) Subject: ntp should update if no existing config. X-Git-Tag: v4.0.2~458 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebd9d2b7e689848347c134366536ec47a48e1d7f;p=thirdparty%2Fdhcpcd.git ntp should update if no existing config. --- diff --git a/hook-samples/ntp.sh b/hook-samples/ntp.sh index ff8e8fbb..616ec169 100644 --- a/hook-samples/ntp.sh +++ b/hook-samples/ntp.sh @@ -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