leafnode: do not touch /etc/services
authorFelix Fietkau <nbd@openwrt.org>
Sun, 13 Mar 2011 19:56:40 +0000 (19:56 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 13 Mar 2011 19:56:40 +0000 (19:56 +0000)
SVN-Revision: 26147

net/leafnode/Makefile

index bcaa8c36dd1ddebd3fae74a8c07a51caf56ae0d1..aaae163a43a99eebdd96edc78ec4de86ad9ad609 100644 (file)
@@ -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