Create /etc/services for ntp if not existing(#1557)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@6903 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-04-08 20:35:36 +00:00
parent 9508b50d0d
commit 30eb646c7e

View File

@ -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 \