summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/root/etc/init.d/luci_bwc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-full/root/etc/init.d/luci_bwc')
-rwxr-xr-xmodules/admin-full/root/etc/init.d/luci_bwc14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/admin-full/root/etc/init.d/luci_bwc b/modules/admin-full/root/etc/init.d/luci_bwc
new file mode 100755
index 000000000..fe246073f
--- /dev/null
+++ b/modules/admin-full/root/etc/init.d/luci_bwc
@@ -0,0 +1,14 @@
+#!/bin/sh /etc/rc.common
+
+START=95
+STOP=95
+
+BWC=/usr/bin/luci-bwc
+
+start() {
+ $BWC -d
+}
+
+stop() {
+ killall ${BWC##*/}
+}