mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
16 lines
287 B
Perl
Executable File
16 lines
287 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# start.cgi
|
|
# Start the IPsec server
|
|
|
|
require './ipsec-lib.pl';
|
|
&error_setup($text{'start_err'});
|
|
&before_start();
|
|
$out = &backquote_logged("$config{'start_cmd'} 2>&1");
|
|
if ($?) {
|
|
&error("<pre>$out</pre>");
|
|
}
|
|
&after_start();
|
|
&webmin_log("start");
|
|
&redirect("");
|
|
|