From 637414bf0e9290870161e5db97ddf066cf7107f0 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 13 Mar 2011 19:56:38 +0000 Subject: [PATCH] ntpd: remove the postinst script for updating /etc/services SVN-Revision: 26146 --- net/ntpd/Makefile | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/net/ntpd/Makefile b/net/ntpd/Makefile index 04059f207..e42c68c0b 100644 --- a/net/ntpd/Makefile +++ b/net/ntpd/Makefile @@ -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 -- 2.30.2