From: Felix Fietkau Date: Sun, 13 Mar 2011 19:56:35 +0000 (+0000) Subject: atftp: remove the postinst script for updating /etc/services X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=383127019524b8b20331968270126758affcf731;p=openwrt%2Fsvn-archive%2Fpackages.git atftp: remove the postinst script for updating /etc/services SVN-Revision: 26145 --- diff --git a/net/atftp/Makefile b/net/atftp/Makefile index f31c5fe62..e56a5f646 100644 --- a/net/atftp/Makefile +++ b/net/atftp/Makefile @@ -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