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
|
||||
|
||||
[ -f "/etc/config/ucitrack" ] && {
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@mentohust[-1]
|
||||
add ucitrack mentohust
|
||||
set ucitrack.@mentohust[-1].init=mentohust
|
||||
commit ucitrack
|
||||
EOF
|
||||
}
|
||||
|
||||
rm -rf /tmp/luci-indexcache*
|
||||
exit 0
|
||||
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"config": "mentohust",
|
||||
"init": "mentohust"
|
||||
}
|
Loading…
Reference in New Issue
Block a user