From 7022c0592223ff24bb9fcd2b2ac33e1f7db3bafa Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 7 Sep 2011 23:11:14 +0200 Subject: [PATCH] ratpoison: start init scripts on RUNLEVEL=boot Signed-off-by: Stephan Raue --- .../x11/other/ratpoison/init.d/73_ratpoison | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) 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