mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2025-12-14 23:46:44 +03:00
More detailed logs
This commit is contained in:
@@ -145,7 +145,7 @@ function fwo.write(self, section)
|
|||||||
sys.call("/etc/init.d/firewall reload")
|
sys.call("/etc/init.d/firewall reload")
|
||||||
end
|
end
|
||||||
|
|
||||||
local logs = sys.exec("logread -l 800 -p youtubeUnblock | sed '1!G;h;$!d'")
|
local logs = sys.exec("logread -l 800 -p youtubeUnblock | grep youtubeUnblock | sed '1!G;h;$!d'")
|
||||||
local o = bs:option(DummyValue, "_logs", "Logs")
|
local o = bs:option(DummyValue, "_logs", "Logs")
|
||||||
o.rawhtml = true
|
o.rawhtml = true
|
||||||
o.value = logs
|
o.value = logs
|
||||||
|
|||||||
Reference in New Issue
Block a user