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-asterisk/root/etc/uci-defaults/luci-asterisk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 applications/luci-asterisk/root/etc/uci-defaults/luci-asterisk (limited to 'applications/luci-asterisk/root') diff --git a/applications/luci-asterisk/root/etc/uci-defaults/luci-asterisk b/applications/luci-asterisk/root/etc/uci-defaults/luci-asterisk old mode 100644 new mode 100755 index 612d7a8f21..e45819f602 --- a/applications/luci-asterisk/root/etc/uci-defaults/luci-asterisk +++ b/applications/luci-asterisk/root/etc/uci-defaults/luci-asterisk @@ -1,7 +1,11 @@ #!/bin/sh -uci batch <<-EOF +uci -q batch <<-EOF >/dev/null + delete ucitrack.@asterisk[-1] add ucitrack asterisk set ucitrack.@asterisk[-1].init=asterisk commit ucitrack EOF + +rm -f /tmp/luci-indexcache +exit 0 -- cgit v1.2.3