summaryrefslogtreecommitdiffstats
path: root/package/openntpd/ipkg/etc/init.d/S55ntpd
diff options
context:
space:
mode:
Diffstat (limited to 'package/openntpd/ipkg/etc/init.d/S55ntpd')
-rwxr-xr-xpackage/openntpd/ipkg/etc/init.d/S55ntpd3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/openntpd/ipkg/etc/init.d/S55ntpd b/package/openntpd/ipkg/etc/init.d/S55ntpd
new file mode 100755
index 000000000..e52874878
--- /dev/null
+++ b/package/openntpd/ipkg/etc/init.d/S55ntpd
@@ -0,0 +1,3 @@
+#!/bin/sh
+mkdir -p `grep "^ntp:" /etc/passwd | cut -d: -f6`
+/usr/sbin/ntpd -s