summaryrefslogtreecommitdiff
path: root/openwrt/package/ulogd/files
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-15 21:33:09 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-15 21:33:09 +0000
commit1476881f29d7e3876a9545fcbd249b34394ec7c8 (patch)
treea448061055c37adc5175df26de714e89a689c352 /openwrt/package/ulogd/files
parenta5e6715d30c38f5bbecd0536e2730a9f822cb71b (diff)
downloadmtk-20170518-1476881f29d7e3876a9545fcbd249b34394ec7c8.zip
mtk-20170518-1476881f29d7e3876a9545fcbd249b34394ec7c8.tar.gz
mtk-20170518-1476881f29d7e3876a9545fcbd249b34394ec7c8.tar.bz2
Add ulogd package
SVN-Revision: 914
Diffstat (limited to 'openwrt/package/ulogd/files')
-rw-r--r--openwrt/package/ulogd/files/ulogd.default1
-rw-r--r--openwrt/package/ulogd/files/ulogd.init17
2 files changed, 18 insertions, 0 deletions
diff --git a/openwrt/package/ulogd/files/ulogd.default b/openwrt/package/ulogd/files/ulogd.default
new file mode 100644
index 0000000..86bf444
--- /dev/null
+++ b/openwrt/package/ulogd/files/ulogd.default
@@ -0,0 +1 @@
+OPTIONS="-d" \ No newline at end of file
diff --git a/openwrt/package/ulogd/files/ulogd.init b/openwrt/package/ulogd/files/ulogd.init
new file mode 100644
index 0000000..d3863c5
--- /dev/null
+++ b/openwrt/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 $?