From: Felix Fietkau Date: Sun, 13 Mar 2011 19:56:40 +0000 (+0000) Subject: leafnode: do not touch /etc/services X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b8df47e31b880d2ca5558692e67062d8bd9f7edc;p=openwrt%2Fsvn-archive%2Fpackages.git leafnode: do not touch /etc/services SVN-Revision: 26147 --- diff --git a/net/leafnode/Makefile b/net/leafnode/Makefile index bcaa8c36d..aaae163a4 100644 --- a/net/leafnode/Makefile +++ b/net/leafnode/Makefile @@ -65,8 +65,6 @@ endef define Package/leafnode/postinst #!/bin/sh -grep -q '^nntp[[:space:]]*119/tcp' $${IPKG_INSTROOT}/etc/services 2>/dev/null -[ $$? -ne 0 ] && echo "nntp 119/tcp # USENET News Transfer Protocol" >>$${IPKG_INSTROOT}/etc/services || exit 0 grep -q '^news:' $${IPKG_INSTROOT}/etc/passwd 2>/dev/null [ $$? -ne 0 ] && echo "news:*:31:31:news:/var/spool/news:/bin/true" >>$${IPKG_INSTROOT}/etc/passwd && echo "news:x:31:" >>$${IPKG_INSTROOT}/etc/group || exit 0 endef