<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;"># Contains a function to supply the syslog module with extra logs

do 'proc-lib.pl';

# syslog_getlogs()
# Returns the kernel log, on Linux systems
sub syslog_getlogs
{
if ($gconfig{'os_type'} =~ /-linux$/) {
	return ( { 'cmd' =&gt; "dmesg",
		   'desc' =&gt; $text{'syslog_dmesg'},
		   'active' =&gt; 1, } );
	}
else {
	return ( );
	}
}

</pre></body></html>