packages/ipv6/totd/files/totd.init
nico bc5822e1f6 packages/totd: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 23:49:26 +00:00

15 lines
194 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
START=60
SERVICE_USE_PID=1
start() {
service_start /usr/sbin/totd -c /etc/totd.conf
}
stop() {
service_stop /usr/sbin/totd
}