mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
13 lines
239 B
Perl
Executable File
13 lines
239 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# apply.cgi
|
|
# Apply config file changes with a HUP signal
|
|
|
|
require './sshd-lib.pl';
|
|
&ReadParse();
|
|
$err = &restart_sshd();
|
|
&error($err) if ($err);
|
|
sleep(2); # wait to come back up
|
|
&webmin_log("apply");
|
|
&redirect("");
|
|
|