#!/bin/bash #echo $1 2>&1 sleep 5 case $1 in /KropivaRadio-newjazz32.ogg) pkill -TERM -x -f "/usr/bin/ices2 /etc/ices2/ices-myradio-newjazz-script.xml" /usr/bin/ices2 /etc/ices2/ices-myradio-newjazz-script.xml ;; /KropivaRadio-country32.ogg) pkill -TERM -x -f "/usr/bin/ices2 /etc/ices2/ices-myradio-country-script.xml" /usr/bin/ices2 /etc/ices2/ices-myradio-country-script.xml ;; *) exit 0 ;; esac