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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/ntpd/Makefile

    r23473 r26146  
    9393endef 
    9494 
    95 define Package/ntpd/Default/postinst 
    96 #!/bin/sh 
    97 grep -q '^ntp[[:space:]]*123/udp' $${IPKG_INSTROOT}/etc/services 2>/dev/null 
    98 [ $$? -ne 0 ] && echo "ntp            123/udp     # Network Time Protocol" >>$${IPKG_INSTROOT}/etc/services || exit 0 
    99 grep -q '^ntp[[:space:]]*123/tcp' $${IPKG_INSTROOT}/etc/services 2>/dev/null 
    100 [ $$? -ne 0 ] && echo "ntp            123/tcp     # Network Time Protocol" >>$${IPKG_INSTROOT}/etc/services || exit 0 
    101 endef 
    102  
    103 define Package/ntpdate/postinst 
    104 $(call Package/ntpd/Default/postinst) 
    105 endef 
    106  
    107 define Package/ntpd/postinst 
    108 $(call Package/ntpd/Default/postinst) 
    109 endef 
    110  
    111 define Package/ntp-utils/postinst 
    112 $(call Package/ntpd/Default/postinst) 
    113 endef 
    114  
    11595TARGET_CPPFLAGS += \ 
    11696        -I$(STAGING_DIR)/usr/include/libelf 
     
    150130Package/ntpd-ssl/conffiles = $(Package/ntpd/conffiles) 
    151131Package/ntpd-ssl/install = $(Package/ntpd/install) 
    152 Package/ntpd-ssl/postinst = $(Package/ntpd/postinst) 
    153132 
    154133define Package/ntpdate/install 
Note: See TracChangeset for help on using the changeset viewer.