projects
/
openwrt
/
svn-archive
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f824e24
)
Create /etc/services for ntp if not existing(#1557)
author
Florian Fainelli
<florian@openwrt.org>
Sun, 8 Apr 2007 20:35:36 +0000
(20:35 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Sun, 8 Apr 2007 20:35:36 +0000
(20:35 +0000)
SVN-Revision: 6903
net/ntpd/Makefile
patch
|
blob
|
history
diff --git
a/net/ntpd/Makefile
b/net/ntpd/Makefile
index 46075469158f5a6649f2d7432a68d363f4d4f45a..498d695f7a66f7d2ad07e6c7ecece732c4754f20 100644
(file)
--- 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 \