OPNsense Forum

English Forums => Development and Code Review => Topic started by: drosophila on March 13, 2026, 01:37:21 AM

Title: Console menu entry for iperf3 server?
Post by: drosophila on March 13, 2026, 01:37:21 AM
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?