projects
/
webmin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Handle hostnames with upper-case letters
[webmin.git]
/
sshd
/
apply.cgi
1
#!/usr/local/bin/perl
2
# apply.cgi
3
# Apply config file changes with a HUP signal
4
5
require './sshd-lib.pl';
6
&ReadParse();
7
$err = &restart_sshd();
8
&error($err) if ($err);
9
sleep(2); # wait to come back up
10
&webmin_log("apply");
11
&redirect("");
12