From: nbd Date: Sun, 13 Mar 2011 19:56:43 +0000 (+0000) Subject: openssh: do not touch /etc/services X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=d744948309d61fd9ab6ef450e7af133d557f8eea;p=packages.git openssh: do not touch /etc/services git-svn-id: svn://svn.openwrt.org/openwrt/packages@26149 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/openssh/Makefile b/net/openssh/Makefile index 57fe65594..8281de735 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