#!/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: } setup_netgraph_start() { cleanup ngctl -d -f - <&2 echo "Unrecognized command" fi