projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert openntpd to new packaging style
[openwrt/svn-archive/archive.git]
/
openwrt
/
package
/
openntpd
/
files
/
ntpd.init
diff --git a/openwrt/package/openntpd/files/ntpd.init
b/openwrt/package/openntpd/files/ntpd.init
new file mode 100644
(file)
index 0000000..
e528748
--- /dev/null
+++ b/
openwrt/package/openntpd/files/ntpd.init
@@ -0,0
+1,3
@@
+#!/bin/sh
+mkdir -p `grep "^ntp:" /etc/passwd | cut -d: -f6`
+/usr/sbin/ntpd -s