aboutsummaryrefslogtreecommitdiffstats
path: root/package/ulogd/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/ulogd/files')
-rw-r--r--package/ulogd/files/ulogd.default1
-rw-r--r--package/ulogd/files/ulogd.init17
2 files changed, 18 insertions, 0 deletions
diff --git a/package/ulogd/files/ulogd.default b/package/ulogd/files/ulogd.default
new file mode 100644
index 0000000000..86bf444806
--- /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 0000000000..d3863c5f2a
--- /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 $?