Files
webmin/shorewall/status.cgi
Ilia Ross 342fc4d12d
Some checks failed
Tests / prove (push) Has been cancelled
Package and upload artifacts / build (push) Has been cancelled
Fix remaining raw HTML in Shorewall module to use ui-lib
2026-08-19 22:49:07 +02:00

16 lines
328 B
Perl
Executable File

#!/usr/local/bin/perl
# status.cgi
# Show the status
require './shorewall-lib.pl';
&ui_print_header(undef, $text{'status_title'}, "");
print "<pre>";
open(STATUS, "$config{'shorewall'} status 2>&1 |");
while(<STATUS>) {
print &html_escape($_);
}
close(STATUS);
print "</pre>\n";
&ui_print_footer("", $text{'index_return'});