packages/net/ulogd/files/ulogd.init

17 lines
204 B
Plaintext
Raw Normal View History

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=50
BIN=ulogd
DEFAULT=/etc/default/$BIN
LOG_D=/var/log
start() {
[ -f $DEFAULT ] && . $DEFAULT
$BIN $OPTIONS
}
stop() {
killall $BIN
}