diff options
Diffstat (limited to 'os-plugins/plugins/theme/OpenSLX/OSPlugin')
| -rw-r--r-- | os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm b/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm index c2897eec..4bd83c69 100644 --- a/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm +++ b/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm @@ -29,7 +29,9 @@ sub new { my $class = shift; - my $self = {}; + my $self = { + name => 'theme', + }; return bless $self, $class; } @@ -113,20 +115,18 @@ sub getAttrInfo sub suggestAdditionalKernelParams { - my $self = shift; - my $kernelParams = shift; + my $self = shift; + my $makeInitRamFSEngine = shift; my @suggestedParams; # add vga=0x317 unless explicit vga-mode is already set - if ($kernelParams !~ m{\bvga=}) { - vlog(1, "theme-plugin: adding kernel-param vga=0x317"); + if (!$makeInitRamFSEngine->haveKernelParam(qr{\bvga=})) { push @suggestedParams, 'vga=0x317'; } # add quiet, if not already set - if ($kernelParams !~ m{\bquiet\b}) { - vlog(1, "theme-plugin: adding kernel-param quiet"); + if (!$makeInitRamFSEngine->haveKernelParam('quiet')) { push @suggestedParams, 'quiet'; } |
