atftp: remove the postinst script for updating /etc/services
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26145 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c44d166bb2
commit
71a0c809a4
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user