summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/root
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-11-28 06:41:45 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-11-28 06:41:45 +0000
commitae3825387bd9b47813e0b862db38959e7000cb02 (patch)
treed7219f49ce60f72abbcbfab29d780e551cc51bc0 /modules/admin-full/root
parentf45d5fb952aecd48080c0b48580d0b2113769e2b (diff)
modules/admin-full: add SVG based realtime bandwidth status
Diffstat (limited to 'modules/admin-full/root')
-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##*/}
+}