summaryrefslogtreecommitdiffstats
path: root/openwrt/package/openntpd/files/S49ntpd
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-23 09:41:29 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-23 09:41:29 +0000
commit460fdcbeab1ca238a64fa9d5533b776511da37d0 (patch)
treec722980b790e6b0287601c1e6df8f2e83f3dc874 /openwrt/package/openntpd/files/S49ntpd
parent19b6ad06f6f8554a3804ac70b473764ab0498d94 (diff)
add openntpd. sort list of packages alphabetically in Makefile.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@422 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/openntpd/files/S49ntpd')
-rwxr-xr-xopenwrt/package/openntpd/files/S49ntpd3
1 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/package/openntpd/files/S49ntpd b/openwrt/package/openntpd/files/S49ntpd
new file mode 100755
index 000000000..e52874878
--- /dev/null
+++ b/openwrt/package/openntpd/files/S49ntpd
@@ -0,0 +1,3 @@
+#!/bin/sh
+mkdir -p `grep "^ntp:" /etc/passwd | cut -d: -f6`
+/usr/sbin/ntpd -s