summaryrefslogtreecommitdiffstats
path: root/openwrt/package/openntpd/files/ntpd.init
blob: 8bac705b4ae756af5933895403f4e5cfbf910580 (plain)
1
2
3
#!/bin/sh
mkdir -p `awk -F: '/^ntp:/{print $6}' /etc/passwd`
/usr/sbin/ntpd -s