#!/usr/local/bin/bash cleanup() { ngctl shutdown nat_link2: ngctl shutdown nat_uplink0: ngctl shutdown jail_nat_wg0: } setup_netgraph_start() { cleanup ngctl -d -f - <&2 echo "Unrecognized command" fi