diff options
Diffstat (limited to 'applications/luci-app-ushare/root/etc/uci-defaults')
-rwxr-xr-x | applications/luci-app-ushare/root/etc/uci-defaults/luci-ushare | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-ushare/root/etc/uci-defaults/luci-ushare b/applications/luci-app-ushare/root/etc/uci-defaults/luci-ushare new file mode 100755 index 000000000..8bcb6e411 --- /dev/null +++ b/applications/luci-app-ushare/root/etc/uci-defaults/luci-ushare @@ -0,0 +1,11 @@ +#!/bin/sh + +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 |