#!/usr/local/bin/bash cleanup() { ngctl shutdown host_link2: ngctl shutdown host_uplink0: ngctl shutdown host_bridge0: ngctl shutdown wg_link2: ngctl shutdown wg_uplink0: ngctl shutdown wg_bridge0: ngctl shutdown host_link3: ngctl shutdown host_uplink1: ngctl shutdown host_bridge1: } setup_netgraph_start() { cleanup # Create a bridge for jails that only speak wireguard ngctl -d -f - <&2 echo "Unrecognized command" fi