#!/bin/sh

BGVOICE_RADIUS_HOME=/usr/local/BGVoiceRadius

case "$1" in
        start)
                $BGVOICE_RADIUS_HOME/radius_start.sh
        ;;

        stop)
                $BGVOICE_RADIUS_HOME/radius_stop.sh
        ;;

        restart)
                $BGVOICE_RADIUS_HOME/radius_stop.sh
                $BGVOICE_RADIUS_HOME/radius_start.sh
        ;;

        *)
                echo "Usage: $0 start | stop | restart" >&2
                exit 1
        ;;
esac