summaryrefslogtreecommitdiff
path: root/x11/gdm/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-01-31 21:50:25 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-01-31 21:50:25 +0000
commitf9aa0c56765ebde8fb49dd7c30a91710f8f1c9e3 (patch)
tree58ce10c9bb8031c8c5422064db3e5f6bad1251e7 /x11/gdm/files
parentQuiet the syslog messages from hal. (diff)
Take a stab at working around the hald/gdm race. After we loop waiting
for the getty, loop waiting for hald to be ready.
Notes
Notes: svn path=/head/; revision=227296
Diffstat (limited to 'x11/gdm/files')
-rw-r--r--x11/gdm/files/gdm.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11/gdm/files/gdm.in b/x11/gdm/files/gdm.in
index c6bf0fdc55ad..23ab71b4beaa 100644
--- a/x11/gdm/files/gdm.in
+++ b/x11/gdm/files/gdm.in
@@ -46,6 +46,14 @@ gdm_start()
sleep 1
iter=$(expr ${iter} + 1)
done
+ iter=0
+ while ! %%LOCALBASE%%/bin/lshal >/dev/null 2>&1 ; do
+ if [ ${iter} -eq 60 ]; then
+ break
+ fi
+ sleep 1
+ iter=$(expr ${iter} + 1)
+ done
${command} ${gdm_flags} ) &
}