chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:12:17 +08:00
commit cf8edb9f21
44281 changed files with 1655134 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# Contains a function to supply the syslog module with extra logs
do 'init-lib.pl';
# syslog_getlogs()
# Returns the output from journalctl if installed
sub syslog_getlogs
{
if (&has_command("journalctl")) {
return ( { 'cmd' => "journalctl -n 1000",
'desc' => $text{'syslog_journalctl'},
'active' => 1, } );
}
else {
return ( );
}
}