openwrtv4/openwrt/package/openntpd/files/ntpd.init
2006-01-08 18:10:40 +00:00

3 lines
79 B
Bash

#!/bin/sh
mkdir -p `awk -F: '/^ntp:/{print $6}' /etc/passwd`
/usr/sbin/ntpd -s