ntpd: remove the postinst script for updating /etc/services
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26146 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
71a0c809a4
commit
60de74e018
@ -92,26 +92,6 @@ define Package/ntpd/conffiles
|
||||
/etc/ntp.conf
|
||||
endef
|
||||
|
||||
define Package/ntpd/Default/postinst
|
||||
#!/bin/sh
|
||||
grep -q '^ntp[[:space:]]*123/udp' $${IPKG_INSTROOT}/etc/services 2>/dev/null
|
||||
[ $$? -ne 0 ] && echo "ntp 123/udp # Network Time Protocol" >>$${IPKG_INSTROOT}/etc/services || exit 0
|
||||
grep -q '^ntp[[:space:]]*123/tcp' $${IPKG_INSTROOT}/etc/services 2>/dev/null
|
||||
[ $$? -ne 0 ] && echo "ntp 123/tcp # Network Time Protocol" >>$${IPKG_INSTROOT}/etc/services || exit 0
|
||||
endef
|
||||
|
||||
define Package/ntpdate/postinst
|
||||
$(call Package/ntpd/Default/postinst)
|
||||
endef
|
||||
|
||||
define Package/ntpd/postinst
|
||||
$(call Package/ntpd/Default/postinst)
|
||||
endef
|
||||
|
||||
define Package/ntp-utils/postinst
|
||||
$(call Package/ntpd/Default/postinst)
|
||||
endef
|
||||
|
||||
TARGET_CPPFLAGS += \
|
||||
-I$(STAGING_DIR)/usr/include/libelf
|
||||
|
||||
@ -149,7 +129,6 @@ endef
|
||||
|
||||
Package/ntpd-ssl/conffiles = $(Package/ntpd/conffiles)
|
||||
Package/ntpd-ssl/install = $(Package/ntpd/install)
|
||||
Package/ntpd-ssl/postinst = $(Package/ntpd/postinst)
|
||||
|
||||
define Package/ntpdate/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
|
Loading…
x
Reference in New Issue
Block a user