projects
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[packages] ntpd: use new service wrapper
[packages.git]
/
net
/
ntpd
/
files
/
ntpd.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006-2011 OpenWrt.org
3
4
START=65
5
6
SERVICE_WRITE_PID=1
7
SERVICE_DAEMONIZE=1
8
9
start() {
10
# ln -sf /dev/ttyS0 /dev/gps0
11
# /usr/sbin/setgarmin -d /dev/gps -c /etc/setgarmin.conf
12
service_start /sbin/ntpd -g -n
13
}
14
15
stop() {
16
service_stop /sbin/ntpd
17
}