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]
/
proc
/
syslog_logs.pl
1
# Contains a function to supply the syslog module with extra logs
2
3
do 'proc-lib.pl';
4
5
# syslog_getlogs()
6
# Returns the kernel log, on Linux systems
7
sub syslog_getlogs
8
{
9
if ($gconfig{'os_type'} =~ /-linux$/) {
10
return ( { 'cmd' => "dmesg",
11
'desc' => $text{'syslog_dmesg'},
12
'active' => 1, } );
13
}
14
else {
15
return ( );
16
}
17
}
18