See the man page for networksetup. You’re looking for the “setairportpower” and “setv6off” options.
Since networksetup probably isn’t meant to run on a non-startup disk, you’ll need to make your script a payload-free script that installs on first startup of a freshly imaged machine.
– Patrick