Skip to content

Instantly share code, notes, and snippets.

@RobertCNelson
Last active November 29, 2022 22:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobertCNelson/65ebea8203732659739bfb2bacc113f1 to your computer and use it in GitHub Desktop.
Save RobertCNelson/65ebea8203732659739bfb2bacc113f1 to your computer and use it in GitHub Desktop.
#!/bin/bash
#https://git.ti.com/gitweb?p=wilink8-wlan/wl18xx_fw.git;a=blob;f=changelog;h=3674f4485924fc9e5d99f56a3a38b86e9210b5f9;hb=HEAD
if [ -f /etc/default/bb-wl18xx ] ; then
. /etc/default/bb-wl18xx
fi
FW_OPTION=$(whiptail --title "TI wl18xx Firmware Options" --menu "Choose TI wl18xx Firmware Versionn" 25 78 7 \
"8.9.0.0.79" "Default" \
"8.9.0.0.81" "" \
"8.9.0.0.83" "" \
"8.9.0.0.84" "" \
"8.9.0.0.85" "" \
"8.9.0.0.86" "" \
"8.9.0.0.88" "" 3>&1 1>&2 2>&3)
echo ${FW_OPTION}
echo ${WLFW}
if [ "x${WLFW}" = "xwl18xx-fw-4-${FW_OPTION}.bin" ] ; then
echo "Already set for wl18xx-fw-4-${FW_OPTION}.bin"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment