luci-app-mentohust: adapt to openwrt snapshot
Signed-off-by: sbwml <admin@cooluc.com>
This commit is contained in:
parent
1c100972dd
commit
3409d71e03
@ -1,11 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ -f "/etc/config/ucitrack" ] && {
|
||||||
uci -q batch <<-EOF >/dev/null
|
uci -q batch <<-EOF >/dev/null
|
||||||
delete ucitrack.@mentohust[-1]
|
delete ucitrack.@mentohust[-1]
|
||||||
add ucitrack mentohust
|
add ucitrack mentohust
|
||||||
set ucitrack.@mentohust[-1].init=mentohust
|
set ucitrack.@mentohust[-1].init=mentohust
|
||||||
commit ucitrack
|
commit ucitrack
|
||||||
EOF
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
rm -rf /tmp/luci-indexcache*
|
rm -rf /tmp/luci-indexcache*
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"config": "mentohust",
|
||||||
|
"init": "mentohust"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user