#!/bin/sh PROFILE="$1" if [ -z "$PROFILE" ]; then echo "Profile must be specified on the command line" exit 1 fi if [ ! -e "/srv/bird/${PROFILE}.conf" ]; then echo "Profile '$PROFILE' does not exist" exit 1 fi exec /usr/sbin/bird -d -f -c /srv/bird/${PROFILE}.conf