summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/Theme/XX_Theme.sh
blob: e0a6985f70a3f91a530f066c326505f41c9569db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh
#
# stage3 part of 'Theme' plugin - the runlevel script
#
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

		[ $DEBUGLEVEL -gt 0 ] && echo "done with 'Theme' os-plugin ...";
	fi
fi