modules/admin-full: add SVG based realtime bandwidth status
[project/luci.git] / modules / admin-full / root / etc / init.d / luci_bwc
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 (executable)
index 0000000..fe24607
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh /etc/rc.common
+
+START=95
+STOP=95
+
+BWC=/usr/bin/luci-bwc
+
+start() {
+       $BWC -d
+}
+
+stop() {
+       killall ${BWC##*/}
+}