From 6811edb3d9fe289190fbc7337d372027a655daf8 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 14 Jan 2011 17:48:44 +0000 Subject: applications: revise uci-defaults scripts --- applications/luci-ushare/root/etc/uci-defaults/luci-ushare | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 applications/luci-ushare/root/etc/uci-defaults/luci-ushare (limited to 'applications/luci-ushare/root/etc') 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 new mode 100755 index 262420ebab..8bcb6e4118 --- 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 -- cgit v1.2.3