ratpoison: start init scripts on RUNLEVEL=boot

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-09-07 23:11:14 +02:00
parent 441cc44cc1
commit 7022c05922

View File

@ -22,12 +22,19 @@
#
# runlevels: openelec
(
progress "starting Windowmanager"
case $RUNLEVEL in
boot)
(
progress "starting Windowmanager"
# waiting for Xorg to start
wait_for_xorg
# waiting for Xorg to start
wait_for_xorg
# starting ratpoison
DISPLAY=:0.0 ratpoison > /dev/null 2>&1
)&
# starting ratpoison
DISPLAY=:0.0 ratpoison > /dev/null 2>&1
)&
;;
poweroff|reboot)
;;
esac