diff options
Diffstat (limited to 'openwrt/package/openntpd/files/ntpd.init')
-rw-r--r-- | openwrt/package/openntpd/files/ntpd.init | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/package/openntpd/files/ntpd.init b/openwrt/package/openntpd/files/ntpd.init new file mode 100644 index 0000000000..e528748780 --- /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 |