davidesm
Participant
Post count: 13

Yeah, I went back and caught that, but am running into a new issue.

Now it says “asplashscreen: no such file or directory”

Here is my current asplashscreen text:

#! /bin/sh
### BEGIN INIT INFO
# Provides: asplashscreen
# Required-Start:
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Show custom splashscreen
# Description: Show custom splashscreen
### END INIT INFO

do_start () {

omxplayer -o hdmi –layer 10000 /home/pi/splash_screen_video.mp4 &
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

:

And my video file is splash_screen_video.mp4 located in /home/pi/