upautopoweroff1.3

This commit is contained in:
sirpdboy 2020-11-02 01:52:36 +08:00
parent fb6e5ccd73
commit 48fde82e90
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ e.rmempty = false
local e=luci.http.formvalue("cbi.apply")
if e then
io.popen("/etc/init.d/autopoweroff reload")
io.popen("/etc/init.d/autopoweroff restart")
end
return m

View File

@ -85,7 +85,7 @@ update(){
config_foreach run_poweroff login
}
reload(){
restart(){
stop
update
start