version 1.31, 2021/11/18 02:18:32 |
version 1.33, 2021/11/19 03:13:11 |
|
|
do_as _file "$@" |
do_as _file "$@" |
} |
} |
|
|
# "fail" needs to be replaced with the "ask_yn" loop like in the installer. |
VNAME=${VNAME:-$(sysctl -n kern.osrelease)} |
_issue= |
VERSION=${VERSION:"${VNAME%.*}${VNAME#*.}"} |
fail() { |
FWDIR=${FWDIR:-$VNAME} |
echo $_issue >&2 |
|
exit 1 |
|
} |
|
|
|
VNAME=$(sysctl -n kern.osrelease) |
|
VERSION="${VNAME%.*}${VNAME#*.}" |
|
FWDIR="$VNAME" |
|
MODE=${MODE:-install} |
MODE=${MODE:-install} |
|
|
# TODO: We need the firmware for the system we just installed |
# TODO: We need the firmware for the system we just installed |