packages/admin/pmacct/files/sfacctd.init
nico 1f2a63775b packages/pmacct: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 19:49:01 +00:00

20 lines
275 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
START=50
SERVICE_USE_PID=1
PROG="sfacctd"
DEFAULT="/etc/default/$PROG"
COMMAND="/usr/sbin/$PROG"
start() {
[ -f $DEFAULT ] && . $DEFAULT
service_start $COMMAND $OPTIONS
}
stop() {
service_stop $COMMAND
}