diff options
author | Christian Rößler | 2018-11-15 15:07:08 +0100 |
---|---|---|
committer | Christian Rößler | 2018-11-15 15:07:08 +0100 |
commit | df1d2907c6978f9cdc39f81d83689ad91d95522d (patch) | |
tree | 0bedc34ca5caa3213fc5215f2c31b5ff3ee0f735 /core | |
parent | [run-virt] Linux scripts: New mount/link behaviour (diff) | |
parent | [pvs2] Fix toggleManager.sh always switching to manager (diff) | |
download | mltk-df1d2907c6978f9cdc39f81d83689ad91d95522d.tar.gz mltk-df1d2907c6978f9cdc39f81d83689ad91d95522d.tar.xz mltk-df1d2907c6978f9cdc39f81d83689ad91d95522d.zip |
Merge branch 'master' of git.openslx.org:openslx-ng/mltk
Diffstat (limited to 'core')
-rwxr-xr-x | core/modules/pvs2/data/opt/openslx/pvs2/toggleManager.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/core/modules/pvs2/data/opt/openslx/pvs2/toggleManager.sh b/core/modules/pvs2/data/opt/openslx/pvs2/toggleManager.sh index f2749d8b..a7c86eda 100755 --- a/core/modules/pvs2/data/opt/openslx/pvs2/toggleManager.sh +++ b/core/modules/pvs2/data/opt/openslx/pvs2/toggleManager.sh @@ -21,14 +21,12 @@ getCurrent() { wmctrl -d | awk '{if ($2 == "*") print $1}' } -# Do this whenever we're triggered -moveVm -moveMgr - wmctrl -s 0 - case "$EVENT" in init) echo "CHECKED=false" + moveVm + moveMgr + wmctrl -s 0 ;; connected) echo "VISIBLE=$ISLOCAL" |