summaryrefslogtreecommitdiffstats
path: root/openwrt/package/openntpd/files/S49ntpd
diff options
context:
space:
mode:
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