diff options
-rwxr-xr-x | config-db/slxconfig-demuxer | 5 | ||||
-rw-r--r-- | os-plugins/plugins/Theme/OpenSLX/OSPlugin/Theme.pm | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer index 5d089e1d..2aacdacf 100755 --- a/config-db/slxconfig-demuxer +++ b/config-db/slxconfig-demuxer @@ -491,7 +491,10 @@ sub generateInitalRamFS $cmd .= "-S $info->{name} "; # use theme 'openslx': - $cmd .= "-s openslx "; + my $theme = $attrs->{'theme::name'} || ''; + if (length $theme) { + $cmd .= "-s $theme "; + } my $activePlugins = $info->{'active-plugins'}; if ($activePlugins) { diff --git a/os-plugins/plugins/Theme/OpenSLX/OSPlugin/Theme.pm b/os-plugins/plugins/Theme/OpenSLX/OSPlugin/Theme.pm index b029919e..44c7a89f 100644 --- a/os-plugins/plugins/Theme/OpenSLX/OSPlugin/Theme.pm +++ b/os-plugins/plugins/Theme/OpenSLX/OSPlugin/Theme.pm @@ -86,7 +86,7 @@ sub getAttrInfo End-of-Here content_regex => undef, content_descr => undef, - default => undef, + default => 'openslx', }, }; } |