summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mmc-over-gpio/root/etc/uci-defaults/40_luci-mmc-over-gpio
blob: c6e79e60d4f2d6390a4b2f20604fffba7791cb1e (plain)
1
2
3
4
5
6
7
8
9
10
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