diff --git a/packages/x11/other/ratpoison/init.d/73_ratpoison b/packages/x11/other/ratpoison/init.d/73_ratpoison index 1e3fa9a4cc..213997cdc0 100644 --- a/packages/x11/other/ratpoison/init.d/73_ratpoison +++ b/packages/x11/other/ratpoison/init.d/73_ratpoison @@ -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