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