[X2Go-Commits] [live-build-x2go] 48/59: added debug output
git-admin at x2go.org
git-admin at x2go.org
Mon Nov 28 19:34:59 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 192d042136587757ce59bdb38058631e3a8a22ef
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Sun Jun 28 20:23:07 2020 +0200
added debug output
---
config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix b/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix
index 4740564..201098a 100755
--- a/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix
+++ b/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix
@@ -27,17 +27,24 @@ if grep -q '\W*earlyblankdpmsfix[=\W]*' /proc/cmdline; then
SLEEPCOMMAND="/bin/sleep $SLEEPTIME"
fi
+ echo "EarlyBlankDPMSFix: attempting to force-enable displays."
for FBDEVICE in /sys/class/graphics/fb[0-9]*; do
+ echo "Attempting to blank '$FBDEVICE'."
while ! [ -d $FBDEVICE ] ; do
+ echo "Device '$FBDEVICE' does not (yet) exist!"
: # NOP
done
- echo 1 > $FBDEVICE/blank
+ echo 1 > $FBDEVICE/blank && echo "Blanked '$FBDEVICE'."
+ echo "Sleeping using command '$SLEEPCOMMAND'."
$SLEEPCOMMAND
+ echo "Attempting to unblank '$FBDEVICE'."
while ! [ -d $FBDEVICE ] ; do
+ echo "Device '$FBDEVICE' does not (yet) exist!"
: # NOP
done
- echo 0 > $FBDEVICE/blank
+ echo 0 > $FBDEVICE/blank && echo "Unblanked '$FBDEVICE'."
done
+ echo "EarlyBlankDPMSFix: Done."
) &
fi
}
--
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