#!/bin/bash # if [ "$1" == "route" ]; then echo "show route" | /usr/sbin/birdc elif [ "$1" == "neighbors" ]; then echo "show ospf neighbors" | /usr/sbin/birdc | grep -v ^[A-Za-z] fi