mirror of
https://github.com/sirpdboy/sirpdboy-package.git
synced 2025-01-09 04:17:45 +08:00
upautopoweroff1.3
This commit is contained in:
parent
fb6e5ccd73
commit
48fde82e90
@ -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
|
||||
|
@ -85,7 +85,7 @@ update(){
|
||||
config_foreach run_poweroff login
|
||||
}
|
||||
|
||||
reload(){
|
||||
restart(){
|
||||
stop
|
||||
update
|
||||
start
|
||||
|
Loading…
Reference in New Issue
Block a user