mirror of
https://github.com/webmin/webmin.git
synced 2026-02-07 07:52:13 +00:00
13 lines
275 B
Perl
Executable File
13 lines
275 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# Stop the Fail2Ban server
|
|
|
|
use strict;
|
|
use warnings;
|
|
require './fail2ban-lib.pl';
|
|
our (%text);
|
|
&error_setup($text{'stop_err'});
|
|
my $err = &stop_fail2ban_server();
|
|
&error("<tt>".&html_escape($err)."</tt>") if ($err);
|
|
&webmin_log("stop");
|
|
&redirect("");
|