openwrt-owl/openwrt/package/openntpd/files/S49ntpd

4 lines
78 B
Plaintext
Raw Normal View History

#!/bin/sh
mkdir -p `grep "^ntp:" /etc/passwd | cut -d: -f6`
/usr/sbin/ntpd -s