diff options
author | Christian Rößler | 2017-02-08 18:37:38 +0100 |
---|---|---|
committer | Christian Rößler | 2017-02-08 18:37:38 +0100 |
commit | a05dd01730bd9332f199ad5032c9ac22dfd84576 (patch) | |
tree | f83380cebf0cabd5574f6f36653cd05893620623 | |
parent | ULTRASTRACKE (diff) | |
download | tm-scripts-a05dd01730bd9332f199ad5032c9ac22dfd84576.tar.gz tm-scripts-a05dd01730bd9332f199ad5032c9ac22dfd84576.tar.xz tm-scripts-a05dd01730bd9332f199ad5032c9ac22dfd84576.zip |
[run-virt] resolution_standalone: Little bugfix
-rwxr-xr-x | remote/modules/run-virt/data/opt/openslx/vmchooser/data/linux/resolution_standalone | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/remote/modules/run-virt/data/opt/openslx/vmchooser/data/linux/resolution_standalone b/remote/modules/run-virt/data/opt/openslx/vmchooser/data/linux/resolution_standalone index 0dbbcf98..c6cac4f9 100755 --- a/remote/modules/run-virt/data/opt/openslx/vmchooser/data/linux/resolution_standalone +++ b/remote/modules/run-virt/data/opt/openslx/vmchooser/data/linux/resolution_standalone @@ -7,15 +7,10 @@ # Zu erledigen: Jede Menge, zB anständiges Trapping, Fehler abfangen usw... # set -x -MOUNTDIR=/tmp/diskmount +MOUNTDIR=/mnt/diskmount RESFILE="${MOUNTDIR}"/openslx.ini DISPLAY=:0.0 -function ausgang() { - umount "${MOUNTDIR}" - rmdir "${MOUNTDIR}" -} - check_resolution() { # Now, let's wait even more seconds to see if another process re-changes res.: ACTRES=$(xrandr|grep '*'|tr -s " "|cut -f 2 -d " ") @@ -27,8 +22,6 @@ check_resolution() { fi } -trap ausgang EXIT SIGHUP SIGINT SIGTERM - logger "openslx resolution utility started." # Mountpunkt erzeugen: |