mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
13 lines
273 B
Perl
Executable File
13 lines
273 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# apply.cgi
|
|
# Apply the current exports configuration
|
|
|
|
require './sgiexports-lib.pl';
|
|
&error_setup($text{'apply_err'});
|
|
$out = &backquote_logged("$config{'apply_cmd'} </dev/null 2>&1");
|
|
if ($?) {
|
|
&error($out);
|
|
}
|
|
&webmin_log('apply');
|
|
&redirect("");
|