mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
12 lines
266 B
Perl
Executable File
12 lines
266 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# apply.cgi
|
|
# Apply the current init config
|
|
|
|
require './inittab-lib.pl';
|
|
&error_setup($text{'apply_err'});
|
|
$out = &backquote_logged("$config{'telinit'} q 2>&1 </dev/null");
|
|
&error("<tt>$out</tt>") if ($?);
|
|
&webmin_log("apply");
|
|
&redirect("");
|
|
|