%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/webmin/iscsi-server/
Upload File :
Create Path :
Current File : //usr/share/webmin/iscsi-server/save_manual.cgi

#!/usr/bin/perl
# Save the config file

use strict;
use warnings;
require './iscsi-server-lib.pl';
our (%text, %config, %in);
&ReadParseMime();
&error_setup($text{'manual_err'});

$in{'data'} =~ /\S/ || &error($text{'manual_edata'});
my $fh = "CONFIG";
&open_lock_tempfile($fh, ">$config{'targets_file'}");
&print_tempfile($fh, $in{'data'});
&close_tempfile($fh);

&webmin_log("manual");
&redirect("");

Zerion Mini Shell 1.0