jow 1990e8bd9f [packages] openntpd: change binary path in init script as well
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 10:19:43 +00:00

19 lines
229 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
START=60
boot() {
return 0
}
start() {
mkdir -p `awk -F: '/^network:/{print $6}' /etc/passwd`
mkdir -p /var/db/
/sbin/ntpd -s
}
stop() {
service_kill ntpd
}