2011-03-30 20:10:42 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2011-11-09 19:49:01 +00:00
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
|
|
|
|
2011-03-30 20:10:42 +00:00
|
|
|
START=50
|
|
|
|
|
2011-11-09 19:49:01 +00:00
|
|
|
SERVICE_USE_PID=1
|
|
|
|
|
|
|
|
PROG="uacctd"
|
|
|
|
DEFAULT="/etc/default/$PROG"
|
|
|
|
COMMAND="/usr/sbin/$PROG"
|
2011-03-30 20:10:42 +00:00
|
|
|
|
|
|
|
start() {
|
|
|
|
[ -f $DEFAULT ] && . $DEFAULT
|
2011-11-09 19:49:01 +00:00
|
|
|
service_start $COMMAND $OPTIONS
|
2011-03-30 20:10:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
2011-11-09 19:49:01 +00:00
|
|
|
service_stop $COMMAND
|
2011-03-30 20:10:42 +00:00
|
|
|
}
|