Update mosdns.lua
This commit is contained in:
parent
4e4a89b7aa
commit
9e014c4ce9
@ -30,5 +30,5 @@ function get_log()
|
||||
end
|
||||
|
||||
function clear_log()
|
||||
luci.sys.call("echo '' > $(uci -q get mosdns.mosdns.logfile)")
|
||||
luci.sys.call("cat /dev/null > $(uci -q get mosdns.mosdns.logfile)")
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user