From ce65869956a44641db12c64aa3a0cfa32b06c030 Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 15 May 2005 21:33:09 +0000 Subject: Add ulogd package git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@914 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/ulogd/files/ulogd.default | 1 + package/ulogd/files/ulogd.init | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 package/ulogd/files/ulogd.default create mode 100644 package/ulogd/files/ulogd.init (limited to 'package/ulogd/files') diff --git a/package/ulogd/files/ulogd.default b/package/ulogd/files/ulogd.default new file mode 100644 index 000000000..86bf44480 --- /dev/null +++ b/package/ulogd/files/ulogd.default @@ -0,0 +1 @@ +OPTIONS="-d" \ No newline at end of file diff --git a/package/ulogd/files/ulogd.init b/package/ulogd/files/ulogd.init new file mode 100644 index 000000000..d3863c5f2 --- /dev/null +++ b/package/ulogd/files/ulogd.init @@ -0,0 +1,17 @@ +#!/bin/sh + +BIN=ulogd +DEFAULT=/etc/default/$BIN +LOG_D=/var/log +[ -f $DEFAULT ] && . $DEFAULT + +case $1 in + start) + $BIN $OPTIONS + ;; + *) + echo "usage: $0 (start)" + exit 1 +esac + +exit $? -- cgit v1.2.3