1#!/bin/sh 2 3VIDEO=$(ls /etc/bootanim.d/*.mp4 2>/dev/null) 4 5[ -z "$VIDEO" ] && exit 6 7VSINK_ARGS=kmssink 8 9# Comment this for using overlay plane 10VSINK_ARGS="$VSINK_ARGS force-modesetting=true" 11 12# Uncomment this for fullscreen 13# VSINK_ARGS="$VSINK_ARGS fullscreen=true" 14 15gst-play-1.0 $VIDEO -q --no-interactive --audiosink=fakesink \ 16 --videosink="$VSINK_ARGS"& 17 18# Let the caller know that we are started 19touch ${TAG_FILE:-/dev/null} 20