diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-01-14 17:48:44 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-01-14 17:48:44 +0000 |
commit | 6811edb3d9fe289190fbc7337d372027a655daf8 (patch) | |
tree | e9019876b2aff8b48a853ded274ece488247a6d5 /applications/luci-asterisk/root/etc | |
parent | ba949a84f61729b1cbfecd2780b9c4d5095c2d51 (diff) |
applications: revise uci-defaults scripts
Diffstat (limited to 'applications/luci-asterisk/root/etc')
-rwxr-xr-x[-rw-r--r--] | applications/luci-asterisk/root/etc/uci-defaults/luci-asterisk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/applications/luci-asterisk/root/etc/uci-defaults/luci-asterisk b/applications/luci-asterisk/root/etc/uci-defaults/luci-asterisk index 612d7a8f21..e45819f602 100644..100755 --- 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 |