diff options
Diffstat (limited to 'applications/luci-app-ushare/root/etc/uci-defaults/luci-ushare')
-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 0000000000..8bcb6e4118 --- /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 |