summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ushare/root/etc/uci-defaults/40_luci-ushare
blob: 8bcb6e41180e081c51c2cb157c7f7c1a3ec964d9 (plain)
1
2
3
4
5
6
7
8
9
10
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