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