#!/bin/csh switch (`hostname -s`) case park: echo "Dont know what to do for host=park." # JJLATER exit 1 xs ifconfig tun0 down xs ifconfig ep1 down xs ifconfig ep1 up xs ifconfig tun0 up breaksw case mart: xs ifconfig tun0 down xs ifconfig ed1 down xs ifconfig ed1 up xs ifconfig tun0 up breaksw default: echo "Run this on a gate not on an internal host." exit 1 breaksw endsw