From d883215e76211efea1599f68d5e8685ef0cd3d81 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 16 Sep 2010 13:30:42 +0200 Subject: [PATCH 1/1] On squeeze the iff file has a different name --- modules/ntp/files/etc-default-ntp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ntp/files/etc-default-ntp b/modules/ntp/files/etc-default-ntp index 68df55542..0e77066f6 100644 --- a/modules/ntp/files/etc-default-ntp +++ b/modules/ntp/files/etc-default-ntp @@ -14,7 +14,8 @@ h="`hostname`" KEYSDIR="/etc/ntp.keys.d" if ! [ -e "$KEYSDIR/ntpkey_cert_$h" ] || ! [ -e "$KEYSDIR/ntpkey_host_$h" ] || - ! [ -e "$KEYSDIR/ntpkey_iff_$h" ]; then + (! [ -e "$KEYSDIR/ntpkey_iff_$h" ] && + ! [ -e "$KEYSDIR/ntpkey_iffkey_$h" ]); then # on a "server" we would have to add -T to the ntp-keygen call # and then run something like this: # -- 2.20.1