packages/admin/pmacct/files/uacctd.init

20 lines
274 B
Plaintext
Raw Normal View History

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