[X2Go-Commits] [live-build-x2go] 18/59: when waiting for the device to appear, do not use sleep command but loop as fast as possible

git-admin at x2go.org git-admin at x2go.org
Mon Nov 28 19:34:50 CET 2022


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/openbox-magic-pixel-workaround-buster
in repository live-build-x2go.

commit d53d4a679dec877b2f9173e66f114dc3b8a4e4e3
Author: Stefan Baur <kontakt at baur-itcs.de>
Date:   Wed Oct 2 14:49:12 2019 +0200

    when waiting for the device to appear, do not use sleep command but loop as fast as possible
---
 config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix b/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix
index 3d57939..4740564 100755
--- a/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix
+++ b/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix
@@ -29,12 +29,12 @@ if grep -q '\W*earlyblankdpmsfix[=\W]*' /proc/cmdline; then
 
 		for FBDEVICE in /sys/class/graphics/fb[0-9]*; do
 			while ! [ -d $FBDEVICE ] ; do
-			       	$SLEEPCOMMAND
+			       	: # NOP
 			done
 			echo 1 > $FBDEVICE/blank
 			$SLEEPCOMMAND
 			while ! [ -d $FBDEVICE ] ; do
-			       	$SLEEPCOMMAND
+			       	: # NOP
 			done
 			echo 0 > $FBDEVICE/blank
 		done

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list