luci/applications/luci-wshaper/root/etc/uci-defaults/wshaper
2011-10-15 22:02:29 +00:00

11 lines
215 B
Bash

#!/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