diff options
Diffstat (limited to 'os-plugins/plugins/Theme/XX_Theme.sh')
-rw-r--r-- | os-plugins/plugins/Theme/XX_Theme.sh | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/os-plugins/plugins/Theme/XX_Theme.sh b/os-plugins/plugins/Theme/XX_Theme.sh index 81d2a729..c1814d6f 100644 --- a/os-plugins/plugins/Theme/XX_Theme.sh +++ b/os-plugins/plugins/Theme/XX_Theme.sh @@ -2,17 +2,17 @@ # # stage3 part of 'Theme' plugin - the runlevel script # -if ! [ -e /initramfs/plugin-conf/Theme.conf ]; then - exit 1 -fi -. /initramfs/plugin-conf/Theme.conf +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 +# [ -d /usr/share/themes/displaymanager ] \ +# && cp -a /usr/share/themes/displaymanager \ +# /mnt/var/lib/openslx/themes -if ! [ -n $active ]; then - exit 0 + [ $DEBUGLEVEL -gt 0 ] && echo "done with 'Theme' os-plugin ..."; + fi fi - -echo "executing the 'Theme' os-plugin ..."; - -# nothing to do here, really - -echo "done with 'Theme' os-plugin ..."; |