diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-28 06:41:45 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-28 06:41:45 +0000 |
commit | ae3825387bd9b47813e0b862db38959e7000cb02 (patch) | |
tree | d7219f49ce60f72abbcbfab29d780e551cc51bc0 /modules/admin-full/root/etc/init.d | |
parent | f45d5fb952aecd48080c0b48580d0b2113769e2b (diff) |
modules/admin-full: add SVG based realtime bandwidth status
Diffstat (limited to 'modules/admin-full/root/etc/init.d')
-rwxr-xr-x | modules/admin-full/root/etc/init.d/luci_bwc | 14 |
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##*/} +} |