openwrtv4/openwrt/package/openntpd/ipkg/etc/init.d/S49ntpd

3 lines
78 B
Bash
Executable file

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