mirror of
https://github.com/kenzok8/small-package
synced 2025-01-08 11:17:34 +08:00
update 2024-05-08 16:19:13
This commit is contained in:
parent
e563f237e2
commit
ee4a6c7375
@ -105,8 +105,8 @@ function show_menu()
|
||||
end
|
||||
|
||||
function hide_menu()
|
||||
ucic:set(appname, "@global[0]", "hide_from_luci","1")
|
||||
ucic:commit(appname)
|
||||
uci:set(appname, "@global[0]", "hide_from_luci","1")
|
||||
uci:commit(appname)
|
||||
luci.sys.call("rm -rf /tmp/luci-*")
|
||||
luci.sys.call("/etc/init.d/rpcd restart >/dev/null")
|
||||
luci.http.redirect(luci.dispatcher.build_url("admin", "status", "overview"))
|
||||
|
Loading…
Reference in New Issue
Block a user