Skip to content

Commit

Permalink
Automatically start VirtualBox and VMware client-side integration
Browse files Browse the repository at this point in the history
Since /usr/local/etc/xdg/autostart/ is not interpreted
  • Loading branch information
probonopd authored Oct 29, 2022
1 parent c9a12f0 commit 21f1587
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions overlays/uzip/hello/files/usr/local/bin/start-hello
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ if [ -f "/usr/sbin/pciconf" ] ; then
/usr/sbin/pciconf -lv 2>/dev/null | /usr/bin/grep -q VirtualBox 2>/dev/null
if [ $? -eq 0 ] ; then
export VIRTUAL_MACHINE=YES
/usr/local/bin/VBoxClient-all & # Since /usr/local/etc/xdg/autostart/ is not interpreted
fi
fi

if [ -f "/usr/sbin/pciconf" ] ; then
/usr/sbin/pciconf -lv 2>/dev/null | /usr/bin/grep -q VMware 2>/dev/null
if [ $? -eq 0 ] ; then
export VIRTUAL_MACHINE=YES
/usr/local/bin/vmware-user-suid-wrapper & # Since /usr/local/etc/xdg/autostart/ is not interpreted
fi
fi

Expand Down

0 comments on commit 21f1587

Please sign in to comment.