projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
luci-0.10: merge r6724-r6744
[project/luci.git]
/
applications
/
luci-ushare
/
root
/
etc
/
uci-defaults
/
luci-ushare
diff --git
a/applications/luci-ushare/root/etc/uci-defaults/luci-ushare
b/applications/luci-ushare/root/etc/uci-defaults/luci-ushare
old mode 100644
(file)
new mode 100755
(executable)
index
262420e
..
8bcb6e4
--- a/
applications/luci-ushare/root/etc/uci-defaults/luci-ushare
+++ b/
applications/luci-ushare/root/etc/uci-defaults/luci-ushare
@@
-1,7
+1,11
@@
#!/bin/sh
-uci batch <<-EOF
+uci -q batch <<-EOF >/dev/null
+ delete ucitrack.@ushare[-1]
add ucitrack ushare
set ucitrack.@ushare[-1].init=ushare
commit ucitrack
EOF
+
+rm -f /tmp/luci-indexcache
+exit 0