From af4ea8a6f8f67550de73fdfc730d07431182ef09 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Mon, 14 Jan 2008 20:37:35 +0000 Subject: * 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 --- config-db/slxconfig-demuxer | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config-db') 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) { -- cgit v1.2.3-55-g7522