atftp: remove the postinst script for updating /etc/services
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 13 Mar 2011 19:56:35 +0000 (19:56 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 13 Mar 2011 19:56:35 +0000 (19:56 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26145 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/atftp/Makefile

index f31c5fe..e56a5f6 100644 (file)
@@ -38,17 +38,6 @@ define Package/atftpd
   TITLE+= server
 endef
 
-define Package/atftpd/postinst
-#!/bin/sh
-grep -q '^tftp[[:space:]]*69/tcp' $${IPKG_INSTROOT}/etc/services 2>/dev/null
-if [ $$? -ne 0 ]; then
-       echo "tftp            69/tcp" >>$${IPKG_INSTROOT}/etc/services
-       echo "tftp            69/udp" >>$${IPKG_INSTROOT}/etc/services
-       echo "tftp-mcast    1758/tcp" >>$${IPKG_INSTROOT}/etc/services
-       echo "tftp-mcast    1758/udp" >>$${IPKG_INSTROOT}/etc/services
-fi
-endef
-
 CONFIGURE_ARGS += \
        --disable-libwrap