Skip to content

Commit

Permalink
luci-app-ssr-plus: fix typo and master branch cannot run issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zxlhhyccc authored Apr 18, 2024
1 parent d330c6f commit f313272
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,10 @@ if is_finded("chinadns-ng") then
end
end

m.apply_on_parse = true
m.on_after_apply = function(self,map)
luci.sys.call("/etc/init.d/shadowsocksr restart >/dev/null 2>&1 &")
end

return m

0 comments on commit f313272

Please sign in to comment.