From ebbd3835e4a5005ce0fd608fd58b2856495fcbbf Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 1 Jul 2005 09:27:49 +0000 Subject: [PATCH] small patch from Johannes 5 Joemann SVN-Revision: 1299 --- openwrt/package/openntpd/ipkg/openntpd.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/package/openntpd/ipkg/openntpd.postinst b/openwrt/package/openntpd/ipkg/openntpd.postinst index 4b2ffe9df6..bb485e788c 100644 --- a/openwrt/package/openntpd/ipkg/openntpd.postinst +++ b/openwrt/package/openntpd/ipkg/openntpd.postinst @@ -32,4 +32,4 @@ if [ -z "$(grep ^\\${name}: ${IPKG_INSTROOT}/etc/passwd)" ]; then fi grep -q '^ntp[[:space:]]*123/udp' ${IPKG_INSTROOT}/etc/services 2>/dev/null -[ $? -ne 0 ] && echo "ntp 123/udp" >>${IPKG_INSTROOT}/etc/services +[ $? -eq 0 ] || echo "ntp 123/udp" >>${IPKG_INSTROOT}/etc/services -- 2.30.2