Add ntpd (#1065)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5908 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
13
net/ntpd/files/ntpd.init
Normal file
13
net/ntpd/files/ntpd.init
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
|
||||
START=60
|
||||
start() {
|
||||
# ln -sf /dev/ttyS0 /dev/gps0
|
||||
# /usr/sbin/setgarmin -d /dev/gps -c /etc/setgarmin.conf
|
||||
/usr/sbin/ntpd -g
|
||||
}
|
||||
|
||||
stop() {
|
||||
killall ntpd
|
||||
}
|
Reference in New Issue
Block a user