projects
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
packages/totd: use new service functions
[packages.git]
/
ipv6
/
totd
/
files
/
totd.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006-2011 OpenWrt.org
3
4
START=60
5
6
SERVICE_USE_PID=1
7
8
start() {
9
service_start /usr/sbin/totd -c /etc/totd.conf
10
}
11
12
stop() {
13
service_stop /usr/sbin/totd
14
}