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]
/
syslog
/
restart.cgi
1
#!/usr/local/bin/perl
2
# restart.cgi
3
# Kill and restart the syslog process
4
5
require './syslog-lib.pl';
6
&ReadParse();
7
$access{'noedit'} && &error($text{'restart_ecannot'});
8
$err = &restart_syslog();
9
&error($err) if ($err);
10
&webmin_log("apply");
11
&redirect("");
12