31.10.2016, 19:40
Ja das sollte möglich sein. Ist eigentlich nur eine kleine Änderung.
Die eigentliche Änderung ist:
Code:
sudo nano /etc/init.d/asplashscreen
Code:
#! /bin/sh
### BEGIN INIT INFO
# Provides: asplashscreen
# Required-Start: $local_fs
# Required-Stop:
# Should-Start:
# Default-Start: S
# Default-Stop:
# Short-Description: Show custom splashscreen
# Description: Show custom splashscreen
### END INIT INFO
do_start () {
omxplayer --win "0 0 800 480" /opt/carpc/startup/loading_video.mp4 &
# uncomment the following line to show static boot picture and comment out the line above
#/usr/bin/fbi -T 1 -noverbose -a /etc/splash.png
exit 0
}
case "$1" in
start|"")
do_start
;;
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
stop)
# No-op
;;
status)
exit 0
;;
*)
echo "Usage: asplashscreen [start|stop]" >&2
exit 3
;;
esac
:
Die eigentliche Änderung ist:
Code:
# Required-Start: $local_fs
CarPi: RPi 3 mit 7" RPi Touchscreen & PiUSV+, Jessie, Kodi 15.2
Testing: Raspbian Jessie mit Kodi 15.2 - Step by Step
Projekte: SmartHome, Ambilight
Testing: Raspbian Jessie mit Kodi 15.2 - Step by Step
Projekte: SmartHome, Ambilight