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