Changeset 26145


Ignore:
Timestamp:
2011-03-13T20:56:35+01:00 (7 years ago)
Author:
nbd
Message:

atftp: remove the postinst script for updating /etc/services

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/atftp/Makefile

    r26066 r26145  
    3939endef 
    4040 
    41 define Package/atftpd/postinst 
    42 #!/bin/sh 
    43 grep -q '^tftp[[:space:]]*69/tcp' $${IPKG_INSTROOT}/etc/services 2>/dev/null 
    44 if [ $$? -ne 0 ]; then 
    45         echo "tftp            69/tcp" >>$${IPKG_INSTROOT}/etc/services 
    46         echo "tftp            69/udp" >>$${IPKG_INSTROOT}/etc/services 
    47         echo "tftp-mcast    1758/tcp" >>$${IPKG_INSTROOT}/etc/services 
    48         echo "tftp-mcast    1758/udp" >>$${IPKG_INSTROOT}/etc/services 
    49 fi 
    50 endef 
    51  
    5241CONFIGURE_ARGS += \ 
    5342        --disable-libwrap  
Note: See TracChangeset for help on using the changeset viewer.