From 71a0c809a4ed776831a8e46ea8e433bf5af524f7 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 13 Mar 2011 19:56:35 +0000 Subject: [PATCH] atftp: remove the postinst script for updating /etc/services git-svn-id: svn://svn.openwrt.org/openwrt/packages@26145 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/atftp/Makefile | 11 ----------- 1 file changed, 11 deletions(-) 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