mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-18 17:33:31 +00:00
Force chmod +x init.d script
试图愚蠢且有效地永久避免自己的误操作(逃
This commit is contained in:
parent
2f30178911
commit
352dd0a182
@ -323,7 +323,8 @@ e:value("game",translate("Game Mode"))
|
||||
-- ---------------------------------------------------
|
||||
local apply = luci.http.formvalue("cbi.apply")
|
||||
if apply then
|
||||
os.execute("chmod +x /etc/init.d/v2raypro &")
|
||||
os.execute("/etc/init.d/v2raypro restart >/dev/null 2>&1 &")
|
||||
end
|
||||
|
||||
return m
|
||||
return m
|
||||
|
Loading…
Reference in New Issue
Block a user