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 --- .../root/etc/uci-defaults/luci-mmc-over-gpio | 11 +++++++++++ .../root/etc/uci-defaults/luci-mmc_over_gpio | 7 ------- 2 files changed, 11 insertions(+), 7 deletions(-) create mode 100755 applications/luci-mmc-over-gpio/root/etc/uci-defaults/luci-mmc-over-gpio delete mode 100644 applications/luci-mmc-over-gpio/root/etc/uci-defaults/luci-mmc_over_gpio (limited to 'applications/luci-mmc-over-gpio/root/etc/uci-defaults') diff --git a/applications/luci-mmc-over-gpio/root/etc/uci-defaults/luci-mmc-over-gpio b/applications/luci-mmc-over-gpio/root/etc/uci-defaults/luci-mmc-over-gpio new file mode 100755 index 000000000..c6e79e60d --- /dev/null +++ b/applications/luci-mmc-over-gpio/root/etc/uci-defaults/luci-mmc-over-gpio @@ -0,0 +1,11 @@ +#!/bin/sh + +uci -q batch <<-EOF >/dev/null + delete ucitrack.@mmc_over_gpio[-1] + add ucitrack mmc_over_gpio + set ucitrack.@mmc_over_gpio[-1].init=mmc_over_gpio + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0 diff --git a/applications/luci-mmc-over-gpio/root/etc/uci-defaults/luci-mmc_over_gpio b/applications/luci-mmc-over-gpio/root/etc/uci-defaults/luci-mmc_over_gpio deleted file mode 100644 index 3dd22ec62..000000000 --- a/applications/luci-mmc-over-gpio/root/etc/uci-defaults/luci-mmc_over_gpio +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -uci batch <<-EOF - add ucitrack mmc_over_gpio - set ucitrack.@mmc_over_gpio[-1].init=mmc_over_gpio - commit ucitrack -EOF -- cgit v1.2.3