diff options
| author | Simon Rettberg | 2013-11-26 14:10:30 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2013-11-26 14:10:30 +0100 |
| commit | be323a8ae518c0891b4598d274e443f5d979356c (patch) | |
| tree | 18840db1621c91595083ce4a227146497ae19861 /remote/modules | |
| parent | [vmchooser] Change path specs (diff) | |
| parent | [doc] setup_localization: First pass. Pleasepleaseplease add and comment! (diff) | |
| download | tm-scripts-be323a8ae518c0891b4598d274e443f5d979356c.tar.gz tm-scripts-be323a8ae518c0891b4598d274e443f5d979356c.tar.xz tm-scripts-be323a8ae518c0891b4598d274e443f5d979356c.zip | |
Merge branch 'master' of openslx:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules')
| -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 |
