mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-19 14:13:30 +00:00
Update unblockmusiclog.lua
This commit is contained in:
parent
2a05eb07ab
commit
5f10bf015a
@ -8,7 +8,7 @@ t = f:field(TextValue, "conf")
|
||||
t.rmempty = true
|
||||
t.rows = 20
|
||||
function t.cfgvalue()
|
||||
luci.sys.exec(" sed '/MITM/d' /tmp/unblockmusic.log > /tmp/music.log")
|
||||
luci.sys.exec("cat /tmp/unblockmusic.log | grep http > /tmp/music.log")
|
||||
return fs.readfile(conffile) or ""
|
||||
end
|
||||
t.readonly="readonly"
|
||||
|
Loading…
Reference in New Issue
Block a user