|
Lines 18-25
Link Here
|
| 18 |
if [[ -e ${svcdir}/options/xdm/service ]] ; then |
18 |
if [[ -e ${svcdir}/options/xdm/service ]] ; then |
| 19 |
retval=0 |
19 |
retval=0 |
| 20 |
EXE=$(<"${svcdir}"/options/xdm/service) |
20 |
EXE=$(<"${svcdir}"/options/xdm/service) |
|
|
21 |
if [[ -e ${svcdir}/options/xdm/params ]] ; then |
| 22 |
PARAMS=$(<"${svcdir}"/options/xdm/params) |
| 23 |
fi |
| 21 |
|
24 |
|
| 22 |
/sbin/start-stop-daemon --start --quiet --exec ${EXE} |
25 |
/sbin/start-stop-daemon --start --quiet --exec ${EXE} -- ${PARAMS} |
| 23 |
retval=$? |
26 |
retval=$? |
| 24 |
# Fix bug #26125 for slower systems |
27 |
# Fix bug #26125 for slower systems |
| 25 |
wait; sleep 2 |
28 |
wait; sleep 2 |