Files
webmin/iscsi-server/restart.cgi
2012-09-05 17:40:45 -07:00

13 lines
308 B
Perl

#!/usr/local/bin/perl
# Stop and then re-start the iSCSI server process
use strict;
use warnings;
require './iscsi-server-lib.pl';
our (%text);
&error_setup($text{'restart_err'});
my $err = &restart_iscsi_server();
&error("<tt>".&html_escape($err)."</tt>") if ($err);
&webmin_log("restart");
&redirect("");