diff options
Diffstat (limited to 'src/os-plugins/plugins/vmchooser/XX_vmchooser.sh')
-rw-r--r-- | src/os-plugins/plugins/vmchooser/XX_vmchooser.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/os-plugins/plugins/vmchooser/XX_vmchooser.sh b/src/os-plugins/plugins/vmchooser/XX_vmchooser.sh index f1f9517d..71852896 100644 --- a/src/os-plugins/plugins/vmchooser/XX_vmchooser.sh +++ b/src/os-plugins/plugins/vmchooser/XX_vmchooser.sh @@ -51,6 +51,11 @@ if [ -e $CONFFILE ]; then mkdosfs ${PLUGINCONFDIR}/loopimg/fd.img >/dev/null 2>&1 #|| error mount -n -t msdos -o loop,umask=000 ${PLUGINCONFDIR}/loopimg/fd.img \ ${PLUGINCONFDIR}/fd-loop + + if [ $vmchooser_pvs -ne 0 ]; then + sed -i /mnt/usr/share/xsessions/default.desktop \ + -e "s,vmchooser$,vmchooser --pvs," + fi # finished ... [ $DEBUGLEVEL -gt 0 ] && echo "done with 'vmchooser' os-plugin ..." |