mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 07:57:49 +00:00
xbmc: start init scripts on RUNLEVEL=boot
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
dd1f73885f
commit
2e59361b82
@ -22,6 +22,8 @@
|
|||||||
#
|
#
|
||||||
# runlevels: openelec
|
# runlevels: openelec
|
||||||
|
|
||||||
|
case $RUNLEVEL in
|
||||||
|
boot)
|
||||||
progress "setup XBMC"
|
progress "setup XBMC"
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -131,3 +133,8 @@ EOF
|
|||||||
fi
|
fi
|
||||||
echo "</settings>" >> $HOME/.xbmc/userdata/guisettings.xml
|
echo "</settings>" >> $HOME/.xbmc/userdata/guisettings.xml
|
||||||
fi
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
poweroff|reboot)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
#
|
#
|
||||||
# runlevels: openelec
|
# runlevels: openelec
|
||||||
|
|
||||||
|
case $RUNLEVEL in
|
||||||
|
boot)
|
||||||
LIRCDEV="/var/run/lirc/lircd"
|
LIRCDEV="/var/run/lirc/lircd"
|
||||||
[ -e /var/run/lirc/lircd.irtrans ] && LIRCDEV="/var/run/lirc/lircd.irtrans"
|
[ -e /var/run/lirc/lircd.irtrans ] && LIRCDEV="/var/run/lirc/lircd.irtrans"
|
||||||
XBMC_ARGS="--standalone -fs --lircdev $LIRCDEV"
|
XBMC_ARGS="--standalone -fs --lircdev $LIRCDEV"
|
||||||
@ -85,3 +87,8 @@ fi
|
|||||||
|
|
||||||
usleep 250000
|
usleep 250000
|
||||||
done
|
done
|
||||||
|
;;
|
||||||
|
|
||||||
|
poweroff|reboot)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user