a6d46ff650
- don't check directory permissions, we can't make /var 0700 (#9258) - fix init script after r26148, use service_kill instead of killall -9 (#9258) - bump pkg revision git-svn-id: svn://svn.openwrt.org/openwrt/packages@26717 3c298f89-4303-0410-b956-a3cf2f4a3e73
19 lines
233 B
Bash
19 lines
233 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/
|
|
/usr/sbin/ntpd -s
|
|
}
|
|
|
|
stop() {
|
|
service_kill ntpd
|
|
}
|