luci-app-flowoffload: fix init

This commit is contained in:
CN_SZTL 2020-02-08 03:57:21 +08:00
parent 00b6b2e28d
commit 125646dd70
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -68,4 +68,9 @@ o.default = "2001:4860:4860::8888,2001:4860:4860::8844,2001:2001::1111,2001:2001
o.description = translate("Muitiple IPV6 DNS server can saperate with ','")
o:depends("dnscache_enable", 2)
local apply = luci.http.formvalue("cbi.apply")
if apply then
os.execute("/etc/init.d/flowoffload restart >/dev/null 2>&1 &")
end
return m