    fi

    if [ ! -e $TR ]; then
	eval $COLOR_RED
	echo "GPIO not setup! Failing."
	eval $COLOR_NORMAL    
    fi
    
    if [ -e $TUNSLIP_LOG ]; then
	# some trivial log rotation
	mv $TUNSLIP_LOG $TUNSLIP_LOG.1