Skip to content

Commit

Permalink
fix wrong reload command 2
Browse files Browse the repository at this point in the history
  • Loading branch information
rufengsuixing committed Dec 6, 2019
1 parent e9c071c commit de8c7d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luasrc/model/cbi/AdGuardHome/manual.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ o.validate=function(self, value)
end
o.write = function(self, section, value)
NXFS.move("/tmp/AdGuardHometmpconfig.yaml",escconf)
io.popen("sleep 1 ;/etc/init.d/AdGuardHome reload & ;")
io.popen("sleep 1 ;/etc/init.d/AdGuardHome reload &")
end
o.remove = function(self, section, value)
NXFS.writefile(escconf, "")
Expand Down

0 comments on commit de8c7d3

Please sign in to comment.