diff options
Diffstat (limited to 'applications/luci-app-asterisk/root/etc/uci-defaults')
-rwxr-xr-x | applications/luci-app-asterisk/root/etc/uci-defaults/luci-asterisk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-asterisk/root/etc/uci-defaults/luci-asterisk b/applications/luci-app-asterisk/root/etc/uci-defaults/luci-asterisk new file mode 100755 index 0000000000..e45819f602 --- /dev/null +++ b/applications/luci-app-asterisk/root/etc/uci-defaults/luci-asterisk @@ -0,0 +1,11 @@ +#!/bin/sh + +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 |