diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2016-01-27 16:47:23 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2016-01-27 16:50:19 +0100 |
commit | 8eaac4b637d989680ad86dc3e84b0f3b547c1619 (patch) | |
tree | fbc6aa60f12e0ab8624448efcd29daa62e099314 /applications/luci-app-wshaper/root/etc/uci-defaults/40_wshaper | |
parent | 445ae20db8812bcff3e4c0e32859ea1d3d5fbe4b (diff) |
Use numeric prefixes for uci-defaults scripts
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'applications/luci-app-wshaper/root/etc/uci-defaults/40_wshaper')
-rw-r--r-- | applications/luci-app-wshaper/root/etc/uci-defaults/40_wshaper | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-wshaper/root/etc/uci-defaults/40_wshaper b/applications/luci-app-wshaper/root/etc/uci-defaults/40_wshaper new file mode 100644 index 0000000000..918dff2801 --- /dev/null +++ b/applications/luci-app-wshaper/root/etc/uci-defaults/40_wshaper @@ -0,0 +1,11 @@ +#!/bin/sh + +uci -q batch <<-EOF >/dev/null + delete ucitrack.@wshaper[-1] + set ucitrack.wshaper="wshaper" + set ucitrack.wshaper.exec='/etc/init.d/wshaper start' + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0 |