diff options
author | Oliver Tappe | 2008-01-27 13:37:13 +0100 |
---|---|---|
committer | Oliver Tappe | 2008-01-27 13:37:13 +0100 |
commit | 224da813f0632c67a7437762fae6871704fc341d (patch) | |
tree | 75f038e20fe80c213d886956a19c13926004a6ed /os-plugins/plugins/theme/XX_theme.sh | |
parent | adjusted following the recent discussion on the devel list: (diff) | |
download | core-224da813f0632c67a7437762fae6871704fc341d.tar.gz core-224da813f0632c67a7437762fae6871704fc341d.tar.xz core-224da813f0632c67a7437762fae6871704fc341d.zip |
* renamed all plugins to lowercase in order to be consistent with
the attribute names
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1497 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/theme/XX_theme.sh')
-rw-r--r-- | os-plugins/plugins/theme/XX_theme.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/os-plugins/plugins/theme/XX_theme.sh b/os-plugins/plugins/theme/XX_theme.sh new file mode 100644 index 00000000..4d166c13 --- /dev/null +++ b/os-plugins/plugins/theme/XX_theme.sh @@ -0,0 +1,22 @@ +#! /bin/sh +# +# stage3 part of 'theme' plugin - the runlevel script +# +. /etc/functions +. /etc/sysconfig/config +if [ -e /initramfs/plugin-conf/theme.conf ]; then + . /initramfs/plugin-conf/theme.conf + if [ $Theme_active -ne 0 ]; then + [ $DEBUGLEVEL -gt 0 ] && echo "executing the 'theme' os-plugin ..."; + + testmkd /mnt/var/lib/openslx/themes/displaymanager + testmkd /mnt/var/lib/openslx/bin + if [ -d /usr/share/themes/displaymanager ]; then + cp -a /usr/share/themes/displaymanager \ + /mnt/var/lib/openslx/themes + sed -i "s,UseTheme=false,UseTheme=true," /mnt/${D_KDMRCPATH}/kdmrc + fi + + [ $DEBUGLEVEL -gt 0 ] && echo "done with 'theme' os-plugin ..."; + fi +fi |