aboutsummaryrefslogtreecommitdiff
path: root/net/ulogd/files
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2014-08-23 11:18:13 +0200
committerNicolas Thill <nico@openwrt.org>2014-08-23 11:18:13 +0200
commit0bef49ff5a65126b3a0cf79c5b19ddefdb639841 (patch)
tree21a6c8ea0e6b7d83c7d3ad4ea6a0a3c576cb69a1 /net/ulogd/files
parent7c4f8a350cc212e28903e17ad418aeb11f70f4fe (diff)
ulogd: import from old packages feed
- update to latest version (v2.0.4) - use PKG_INSTALL - add DBI plugin - convert init script to procd - add license info - add myself as maintainer Signed-off-by: Nicolas Thill <nico@openwrt.org>
Diffstat (limited to 'net/ulogd/files')
-rw-r--r--net/ulogd/files/ulogd.init12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/ulogd/files/ulogd.init b/net/ulogd/files/ulogd.init
new file mode 100644
index 000000000..3650322bf
--- /dev/null
+++ b/net/ulogd/files/ulogd.init
@@ -0,0 +1,12 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2014 OpenWrt.org
+
+START=20
+
+USE_PROCD=1
+
+start_service() {
+ procd_open_instance
+ procd_set_param command /usr/sbin/ulogd
+ procd_close_instance
+}