mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-16 16:57:08 +00:00
fix: fix the failure of startup in some distributions
This commit is contained in:
parent
026af02ed0
commit
97b128e5ec
@ -60,11 +60,9 @@ partialRepalce.description =
|
|||||||
"Replace only the matched part of the User-Agent, only works when User-Agent Regex Pattern is not empty"
|
"Replace only the matched part of the User-Agent, only works when User-Agent Regex Pattern is not empty"
|
||||||
partialRepalce.default = "0"
|
partialRepalce.default = "0"
|
||||||
|
|
||||||
--[[
|
|
||||||
local apply = luci.http.formvalue("cbi.apply")
|
local apply = luci.http.formvalue("cbi.apply")
|
||||||
if apply then
|
if apply then
|
||||||
io.popen("/etc/init.d/ua3f restart")
|
io.popen("/etc/init.d/ua3f restart")
|
||||||
end
|
end
|
||||||
--]]
|
|
||||||
|
|
||||||
return ua3f
|
return ua3f
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user