summaryrefslogtreecommitdiffstats
path: root/config-db
diff options
context:
space:
mode:
authorOliver Tappe2008-01-14 21:37:35 +0100
committerOliver Tappe2008-01-14 21:37:35 +0100
commitaf4ea8a6f8f67550de73fdfc730d07431182ef09 (patch)
treed55e1b50c5783521d0e520c12f0dae4d4592ac9b /config-db
parent* no bootsplash is being used if a debuglevel has been set (as was before) (diff)
downloadcore-af4ea8a6f8f67550de73fdfc730d07431182ef09.tar.gz
core-af4ea8a6f8f67550de73fdfc730d07431182ef09.tar.xz
core-af4ea8a6f8f67550de73fdfc730d07431182ef09.zip
* the config-demuxer now passes through theme::name to mkdxsinitrd (via -s)
* set default for theme::name to 'openslx' such that our theme is now automatically active for all systems that have the 'Theme' plugin active. I tested setting theme::name to something else (in my case: openSUSE), copied the required theme-files to /opt/openslx/share/themes and it worked as expected (a.k.a the bootsplash showed the new theme). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1474 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db')
-rwxr-xr-xconfig-db/slxconfig-demuxer5
1 files changed, 4 insertions, 1 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) {