mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
14 lines
249 B
Perl
Executable File
14 lines
249 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# stop.cgi
|
|
# Stop the IPsec server
|
|
|
|
require './ipsec-lib.pl';
|
|
&error_setup($text{'stop_err'});
|
|
$out = &backquote_logged("$config{'stop_cmd'} 2>&1");
|
|
if ($?) {
|
|
&error("<pre>$out</pre>");
|
|
}
|
|
&webmin_log("stop");
|
|
&redirect("");
|
|
|