> How does fw_update install the drivers? > How does it know which driver is missing on the system?
Just list the following sequence (outputs inserted too): $ which fw_update /usr/sbin/fw_update $ cat /usr/sbin/fw_update #!/bin/ksh # $OpenBSD: fw_update.sh,v 1.56 2024/03/21 01:02:29 afresh1 Exp $ [ ... ] You can see the file for many "utilities", i.e. pkg_* suite too. Some are shell scripts, some are perl scrips or maybe other interpreted languages. Some are binary. fw_update is done as a shell script.