mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
log.dat: Fixes bug#12950 - adding apcupsd to system logs list
- Patch tested out on my production system that has apcupsd running on it. APCUPS was in the list of options in the system logs and entries from apcupsd were extracted correctly in the wui. Fixes: Bug#12950 Tested-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
3ceda453ca
commit
284ebca057
@@ -49,6 +49,7 @@ $cgiparams{'ACTION'} = '';
|
||||
$cgiparams{'SECTION'} = 'ipfire';
|
||||
|
||||
my %sections = (
|
||||
'apcupsd' => '(apcupsd\[.*?\]: )',
|
||||
'auth' => '(\w+\(pam_unix\)\[.*\]: )',
|
||||
'wio' => '(wio:|wio\[.*\])',
|
||||
'captive' => '(Captive:)',
|
||||
@@ -81,6 +82,7 @@ my %sections = (
|
||||
|
||||
# Translations for the %sections array.
|
||||
my %trsections = (
|
||||
'apcupsd' => 'APCUPS',
|
||||
'auth' => "$Lang::tr{'loginlogout'}",
|
||||
'wio' => 'Who Is Online?',
|
||||
'captive' => $Lang::tr{'Captive'},
|
||||
|
||||
Reference in New Issue
Block a user