[X2Go-Commits] [live-build-x2go] 75/108: we need to make sure we don't fire too early - check that at least one symlink matching fb[0-9]* exists
git-admin at x2go.org
git-admin at x2go.org
Wed Mar 20 22:13:20 CET 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/openbox
in repository live-build-x2go.
commit 2e9ec9f474441d99caaa838be616dbcc615f6e8f
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Fri Jan 11 14:00:09 2019 +0000
we need to make sure we don't fire too early - check that at least one symlink matching fb[0-9]* exists
---
config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix b/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix
index 9e5360f..bc5db17 100755
--- a/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix
+++ b/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix
@@ -18,7 +18,7 @@ if grep -q '\W*earlyblankdpmsfix[=\W]*' /proc/cmdline; then
SLEEPCOMMAND="/bin/sleep $SLEEPTIME"
fi
(
- while ! ( [ -d /sys/class/graphics ] && [ -c /dev/tty1 ] && [ -c /dev/vcs1 ] ) ; do
+ while ! ( [ -d /sys/class/graphics ] && [ -n "$(find /sys/class/graphics/ -maxdepth 1 -type l -name "fb[0-9]*")" ] && [ -c /dev/tty1 ] && [ -c /dev/vcs1 ] ) ; do
sleep 1
done
for FBDEVICE in /sys/class/graphics/fb[0-9]*; do
--
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