packages/totd: use new service functions
[openwrt/svn-archive/archive.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 }