diff options
| -rw-r--r-- | remote/modules/vmware/data/etc/X11/Xreset.d/vmware | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/remote/modules/vmware/data/etc/X11/Xreset.d/vmware b/remote/modules/vmware/data/etc/X11/Xreset.d/vmware new file mode 100644 index 00000000..c453aafd --- /dev/null +++ b/remote/modules/vmware/data/etc/X11/Xreset.d/vmware @@ -0,0 +1,10 @@ +# +# VMWare cleanup +# + +VMWARE_TMP_DIRS="$(cat /proc/mounts | grep "/tmp/vmware-" | awk -F " " '{print $1}')" +for DIR in $VMWARE_TMP_DIRS; do + umount -l $DIR || echo "could not unmount." +done + +exit 0 |
