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]
/
inetd
/
restart_inetd.cgi
1
#!/usr/local/bin/perl
2
# restart_inetd.cgi
3
# Send a HUP signal to the inetd process
4
5
require './inetd-lib.pl';
6
$whatfailed = $text{'error_restart'};
7
8
$out = &backquote_logged("$config{'restart_command'} 2>&1");
9
if ($?) {
10
# Failed to signal inetd
11
&error($out);
12
}
13
&webmin_log("apply");
14
&redirect("");
15