packages/net/ulogd/files/ulogd.init
nico a086f94c24 packages/ulogd: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 23:43:49 +00:00

18 lines
254 B
Bash

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