aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/conntrack-tools/files/conntrackd.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/utils/conntrack-tools/files/conntrackd.init')
-rw-r--r--package/network/utils/conntrack-tools/files/conntrackd.init17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/network/utils/conntrack-tools/files/conntrackd.init b/package/network/utils/conntrack-tools/files/conntrackd.init
new file mode 100644
index 0000000..a51eb88
--- /dev/null
+++ b/package/network/utils/conntrack-tools/files/conntrackd.init
@@ -0,0 +1,17 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2015 OpenWrt.org
+
+START=21
+STOP=89
+
+USE_PROCD=1
+PROG="/usr/sbin/conntrackd"
+
+start_service() {
+ procd_open_instance
+
+ procd_set_param command $PROG -C /etc/conntrackd/conntrackd.conf
+ procd_set_param respawn
+
+ procd_close_instance
+}