projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
applications/wshaper: Rename uci-defaults/luci-wshaper to wshaper
[project/luci.git]
/
applications
/
luci-wshaper
/
root
/
etc
/
uci-defaults
/
wshaper
diff --git a/applications/luci-wshaper/root/etc/uci-defaults/wshaper
b/applications/luci-wshaper/root/etc/uci-defaults/wshaper
new file mode 100644
(file)
index 0000000..
9e4eb15
--- /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