summaryrefslogtreecommitdiffstats
path: root/src/os-plugins/plugins/plymouth/XX_plymouth.sh
diff options
context:
space:
mode:
authorjoe2012-08-22 15:03:19 +0200
committerjoe2012-08-22 15:03:19 +0200
commitd942e3a5eaaf18b7ad682845320925d5c5e4de77 (patch)
tree71cfa9e89b339aa65ce3d3ef95909c203d97b9a6 /src/os-plugins/plugins/plymouth/XX_plymouth.sh
parentfix typo (diff)
downloadcore-d942e3a5eaaf18b7ad682845320925d5c5e4de77.tar.gz
core-d942e3a5eaaf18b7ad682845320925d5c5e4de77.tar.xz
core-d942e3a5eaaf18b7ad682845320925d5c5e4de77.zip
plymouth plugin updated to set the theme to the target system
Diffstat (limited to 'src/os-plugins/plugins/plymouth/XX_plymouth.sh')
-rw-r--r--src/os-plugins/plugins/plymouth/XX_plymouth.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os-plugins/plugins/plymouth/XX_plymouth.sh b/src/os-plugins/plugins/plymouth/XX_plymouth.sh
index f1b99511..79f91325 100644
--- a/src/os-plugins/plugins/plymouth/XX_plymouth.sh
+++ b/src/os-plugins/plugins/plymouth/XX_plymouth.sh
@@ -19,6 +19,9 @@ if [ -e /initramfs/plugin-conf/plymouth.conf ]; then
if [ $plymouth_active -ne 0 ]; then
[ $DEBUGLEVEL -gt 0 ] && echo "executing the 'plymouth' plugin...";
+ [ ! -d /mnt/etc/alternatives ] && mkdir -p /mnt/etc/alternatives
+ ln -sf /opt/openslx/plugin-repo/plymouth/files/lib/plymouth/themes/default.plymouth /mnt/etc/alternatives/default.plymouth
+ ln -sf /opt/openslx/plugin-repo/plymouth/files/lib/plymouth/themes/unifr-rz/ /mnt/lib/plymouth/themes/unifr-rz/
if [ -f /mnt/etc/init/kdm.conf ];
then
sed 's/exec kdm/$(sleep 0.5 \&\& plymouth quit) \&\n exec kdm/g' -i /mnt/etc/init/kdm.conf