From: Manuel Munz Date: Sat, 15 Oct 2011 20:47:42 +0000 (+0000) Subject: applications/wshaper: Rename uci-defaults/luci-wshaper to wshaper X-Git-Tag: 0.11.0~1529 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b0c01cfd1913d0adc8df67f606e24ea05007e830;p=oweals%2Fluci.git applications/wshaper: Rename uci-defaults/luci-wshaper to wshaper --- diff --git a/applications/luci-wshaper/root/etc/uci-defaults/luci-wshaper b/applications/luci-wshaper/root/etc/uci-defaults/luci-wshaper deleted file mode 100644 index 9e4eb15f0..000000000 --- a/applications/luci-wshaper/root/etc/uci-defaults/luci-wshaper +++ /dev/null @@ -1,11 +0,0 @@ -#!/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 diff --git a/applications/luci-wshaper/root/etc/uci-defaults/wshaper b/applications/luci-wshaper/root/etc/uci-defaults/wshaper new file mode 100644 index 000000000..9e4eb15f0 --- /dev/null +++ b/applications/luci-wshaper/root/etc/uci-defaults/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