#!/bin/sh
#
# Call gst-inspect on startup so it (re)builds the registry cache early on. We
# don't want this to happen when a call arrives, since it costs a lot of time.

case "$1" in
    start)
        HOME=/opt/userdata
        gst-inspect-1.0 > /dev/null &
        ;;
    stop)
        echo "Nothing to do."
        ;;
    *)
        echo "Usage: $0 {start|stop}"
        ;;
esac
