Take a stab at working around the hald/gdm race. After we loop waiting

for the getty, loop waiting for hald to be ready.
This commit is contained in:
Joe Marcus Clarke 2009-01-31 21:50:25 +00:00
parent 73d3e9338a
commit f9aa0c5676
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=227296
2 changed files with 9 additions and 1 deletions

View file

@ -8,7 +8,7 @@
PORTNAME= gdm
PORTVERSION= 2.24.1
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= x11 gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2

View file

@ -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} ) &
}