From 87a3f2f12999abd7f88e186ee87f32255f4a339b Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Sat, 15 Oct 2011 18:47:42 +0000 Subject: applications: Add luci-wshaper (#53) --- applications/luci-wshaper/root/etc/uci-defaults/luci-wshaper | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 applications/luci-wshaper/root/etc/uci-defaults/luci-wshaper (limited to 'applications/luci-wshaper/root/etc/uci-defaults') diff --git a/applications/luci-wshaper/root/etc/uci-defaults/luci-wshaper b/applications/luci-wshaper/root/etc/uci-defaults/luci-wshaper new file mode 100644 index 0000000000..9e4eb15f07 --- /dev/null +++ b/applications/luci-wshaper/root/etc/uci-defaults/luci-wshaper @@ -0,0 +1,11 @@ +#!/bin/sh + +uci -q batch <<-EOF >/dev/null + delete ucitrack.@wshaper[-1] + add ucitrack wshaper=wshaper + set ucitrack.wshaper.exec='/etc/init.d/wshaper start' + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0 -- cgit v1.2.3