Console menu entry for iperf3 server?

Started by drosophila, Today at 01:37:21 AM

Previous topic - Next topic
Like this diff for /usr/local/sbin/opnsense-shell, only conditionally applied when the plugin is installed / reversed if removed?
25a26
> CMD_IPERF3="/usr/local/bin/iperf3 -s"
105a107,110
> iperf3)
>     shift
>     exec ${CMD_IPERF3} "${@}"
>     ;;
128c133
< echo
---
> echo "                                        14) iperf3 server"
177a183,185
>     ;;
> 14)
>     ${CMD_IPERF3}
Is this possible, or don't the installers for these plugins have access to the systems innards?