dev/provisioning/modules/puppi/files/scripts/header
author nowmad@23.1.168.192.in-addr.arpa
Wed, 20 Jan 2016 10:38:09 +0100
changeset 88 1547a32aef60
parent 28 b0b56e0f8c7f
permissions -rwxr-xr-x
add observable on currentItem to update the icon of the item being played

configfile="/etc/puppi/puppi.conf"

# Load general configurations
if [ ! -f $configfile ] ; then
    echo "Config file: $configfile not found"
    exit 2
else
    . $configfile
    . $scriptsdir/functions
fi

# Load project runtime configuration
projectconfigfile="$workdir/$project/config"
if [ ! -f $projectconfigfile ] ; then
    echo "Project runtime config file: $projectconfigfile not found"
    exit 2
else
    . $projectconfigfile
fi

# Activate debug 
case "$debug" in
    yes) set -x  ;;
    full) set -xv  ;;
esac