summaryrefslogblamecommitdiffstats
path: root/os-plugins/plugins/vmchooser/XX_vmchooser.sh
blob: 93a93b13607536e805b1c1763c62ef669e4ef989 (plain) (tree)
1
2
3
4
5
6
7
8
9





                                                
                                                                                        
                                                                                  
                                                                                                
                                                                                    
          
  

CONFFILE="/initramfs/plugin-conf/vmchooser.conf"

if [ -e $CONFFILE ]; then
	. $CONFFILE
	if [ $vmchooser_active -ne 0 ]; then
		[ $DEBUGLEVEL -gt 0 ] && echo "executing the 'vmchooser' os-plugin ...";
		[ $DEBUGLEVEL -gt 0 ] && echo "copying default .desktop file ...";
		cp /mnt/opt/openslx/plugin-repo/vmchooser/default.desktop /mnt/etc/X11/sessions/
		[ $DEBUGLEVEL -gt 0 ] && echo "done with 'vmchooser' os-plugin ...";
	fi
fi