packages/admin/pmacct/files/nfacctd.init

20 lines
275 B
Plaintext
Raw Normal View History

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