Update homebox.lua

This commit is contained in:
Pdboy Sir 2024-02-28 01:48:19 +08:00 committed by GitHub
parent caaa26f9c9
commit 402d136c03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,5 +16,6 @@ o.template ='netspeedtest/homebox'
m.apply_on_parse = true
m.on_after_apply = function(self,map)
io.popen("/etc/init.d/netspeedtest restart")
luci.http.redirect(luci.dispatcher.build_url("admin","network","netspeedtest","homebox"))
end
return m