summaryrefslogtreecommitdiff
path: root/openwrt/package/openntpd/files/ntpd.init
blob: e528748780d6817e8067bd081875152d0cd27b78 (plain)
1
2
3
#!/bin/sh
mkdir -p `grep "^ntp:" /etc/passwd | cut -d: -f6`
/usr/sbin/ntpd -s