From 30eb646c7eaa4f15ba5d4b3463fb53eb3c64ad74 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 8 Apr 2007 20:35:36 +0000 Subject: [PATCH] Create /etc/services for ntp if not existing(#1557) git-svn-id: svn://svn.openwrt.org/openwrt/packages@6903 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/ntpd/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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 \ -- 2.11.0