From: Felix Fietkau Date: Sun, 13 Mar 2011 19:56:43 +0000 (+0000) Subject: openssh: do not touch /etc/services X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=ed0279b79edad3f676c3921e95c3ffdc13f05099 openssh: do not touch /etc/services SVN-Revision: 26149 --- diff --git a/net/openssh/Makefile b/net/openssh/Makefile index 57fe655947..8281de735a 100644 --- a/net/openssh/Makefile +++ b/net/openssh/Makefile @@ -178,11 +178,6 @@ if [ -z "$$(grep ^\\$${name}: $${IPKG_INSTROOT}/etc/passwd)" ]; then echo "adding user $$name to /etc/passwd" echo "$${name}:x:$${id}:$${id}:$${name}:/var/empty/.$${name}:/bin/false" >> $${IPKG_INSTROOT}/etc/passwd fi - -grep -q '^ssh[[:space:]]*22/tcp' $${IPKG_INSTROOT}/etc/services 2>/dev/null -if [ $$? -ne 0 ]; then -echo "ssh 22/tcp" >>$${IPKG_INSTROOT}/etc/services -fi endef define Package/openssh-sftp-client/install