From: Florian Fainelli Date: Sun, 8 Apr 2007 20:35:36 +0000 (+0000) Subject: Create /etc/services for ntp if not existing(#1557) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ea187ef566475631da91691546c610e0e5ef6349;p=openwrt%2Fsvn-archive%2Fpackages.git Create /etc/services for ntp if not existing(#1557) SVN-Revision: 6903 --- diff --git a/net/ntpd/Makefile b/net/ntpd/Makefile index 460754691..498d695f7 100644 --- a/net/ntpd/Makefile +++ b/net/ntpd/Makefile @@ -35,6 +35,12 @@ define Package/ntpd/conffiles /etc/ntp.conf endef +define Package/ntpd/postinst +#!/bin/sh +echo "ntp 123/udp # Network Time Protocol +ntp 123/tcp # Network Time Protocol" >> /etc/services +endef + define Build/Configure $(call Build/Configure/Default, \ --disable-all-clocks \