diff options
author | Simon Rettberg | 2018-12-04 11:17:05 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-12-04 11:17:05 +0100 |
commit | b30afcbd9d49c25af510fb6f7470459cfa578a5a (patch) | |
tree | c98638404120ff3509339488919c2d6b87ce80ad /core/modules/beamergui | |
parent | [run-virt] upgrade minimum RAM for VMs to 1024 (diff) | |
download | mltk-b30afcbd9d49c25af510fb6f7470459cfa578a5a.tar.gz mltk-b30afcbd9d49c25af510fb6f7470459cfa578a5a.tar.xz mltk-b30afcbd9d49c25af510fb6f7470459cfa578a5a.zip |
[beamergui] Respawn beamergui if closed
Diffstat (limited to 'core/modules/beamergui')
-rwxr-xr-x | core/modules/beamergui/data/opt/openslx/pvs2/showBeamergui.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/core/modules/beamergui/data/opt/openslx/pvs2/showBeamergui.sh b/core/modules/beamergui/data/opt/openslx/pvs2/showBeamergui.sh index e17bbbc7..5f4e2bfa 100755 --- a/core/modules/beamergui/data/opt/openslx/pvs2/showBeamergui.sh +++ b/core/modules/beamergui/data/opt/openslx/pvs2/showBeamergui.sh @@ -2,4 +2,11 @@ [ "$EVENT" = "clicked" ] || exit 0 -exec beamergui -w +if ps u | grep -v grep | grep -q 'beamergui -b'; then + exec beamergui -w +fi + +( + beamergui -b -g & +) & + |