2006-10-04 20:57:49 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2011-11-09 23:43:49 +00:00
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
|
|
|
|
2007-05-10 10:38:53 +00:00
|
|
|
START=50
|
2006-08-26 08:49:48 +00:00
|
|
|
|
2011-11-09 23:43:49 +00:00
|
|
|
PROG="ulogd"
|
|
|
|
COMMAND="/usr/sbin/$PROG"
|
|
|
|
DEFAULT="/etc/default/$PROG"
|
2006-08-26 08:49:48 +00:00
|
|
|
|
2006-10-04 20:57:49 +00:00
|
|
|
start() {
|
2006-10-15 21:03:30 +00:00
|
|
|
[ -f $DEFAULT ] && . $DEFAULT
|
2011-11-09 23:43:49 +00:00
|
|
|
service_start $COMMAND $OPTIONS
|
2006-10-04 20:57:49 +00:00
|
|
|
}
|
2006-08-26 08:49:48 +00:00
|
|
|
|
2006-10-04 20:57:49 +00:00
|
|
|
stop() {
|
2011-11-09 23:43:49 +00:00
|
|
|
service_stop $COMMAND
|
2006-10-04 20:57:49 +00:00
|
|
|
}
|