|
Lines 200-218
Link Here
|
| 200 |
rc_exit |
200 |
rc_exit |
| 201 |
fi |
201 |
fi |
| 202 |
fi |
202 |
fi |
| 203 |
|
|
|
| 204 |
#wait for NIS. There should be a check here to see if NIS is even enabled at least |
| 205 |
echo -n "Waiting for NIS:" |
| 206 |
for (( i=1 ; i<=15 ; i++ )) ; do |
| 207 |
if ypwhich ; then |
| 208 |
break |
| 209 |
else |
| 210 |
sleep 1s |
| 211 |
echo -n " $i" |
| 212 |
fi |
| 213 |
done |
| 214 |
echo |
| 215 |
|
| 216 |
startproc -p $PIDFILE $DISPLAYMANAGER $XDMOPTIONS || rc_failed |
203 |
startproc -p $PIDFILE $DISPLAYMANAGER $XDMOPTIONS || rc_failed |
| 217 |
# After a crash or a kill signal we may have |
204 |
# After a crash or a kill signal we may have |
| 218 |
# a wrong ownership of /dev/xconsole |
205 |
# a wrong ownership of /dev/xconsole |