2006-10-04 20:57:49 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2011-04-18 10:23:50 +00:00
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
2006-10-04 20:57:49 +00:00
|
|
|
|
2006-10-15 21:03:30 +00:00
|
|
|
START=60
|
2008-09-05 18:22:39 +00:00
|
|
|
|
|
|
|
boot() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2006-10-04 20:57:49 +00:00
|
|
|
start() {
|
2011-04-18 10:23:50 +00:00
|
|
|
mkdir -p `awk -F: '/^network:/{print $6}' /etc/passwd`
|
2007-06-18 15:18:18 +00:00
|
|
|
mkdir -p /var/db/
|
2006-10-04 20:57:49 +00:00
|
|
|
/usr/sbin/ntpd -s
|
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
2011-04-18 10:23:50 +00:00
|
|
|
service_kill ntpd
|
2006-10-04 20:57:49 +00:00
|
|
|
}
|