projects
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60de74e
)
leafnode: do not touch /etc/services
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 13 Mar 2011 19:56:40 +0000
(19:56 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 13 Mar 2011 19:56:40 +0000
(19:56 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26147
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
net/leafnode/Makefile
patch
|
blob
|
history
diff --git
a/net/leafnode/Makefile
b/net/leafnode/Makefile
index
bcaa8c3
..
aaae163
100644
(file)
--- 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