summaryrefslogblamecommitdiffstats
path: root/os-plugins/plugins/vmchooser/XX_vmchooser.sh
blob: 0f9521b8cf3d9f18d27f3d9d228f1eb9f7bc3207 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                      

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

if [ -e $CONFFILE ]; then
	. $CONFFILE
	if [ $vmchooser_active -ne 0 ]; then
		[ $DEBUGLEVEL -gt 0 ] && echo "executing the 'example' os-plugin ...";

		# for this example plugin, we simply take a filename from the 
		# configuration and cat that file (output the smiley):
		cat /mnt/opt/openslx/plugin-repo/example/$preferred_side

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