Skip to content

Commit

Permalink
$TMP_MENU_FILE is an unknown variable. Replaced with /tmp/iso_menu.tx…
Browse files Browse the repository at this point in the history
…t so usb-scan works.
  • Loading branch information
tlaurion committed Oct 30, 2018
1 parent e9eca4f commit 54eaba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion initrd/bin/usb-scan
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ get_menu_option() {
n=`expr $n + 1`
option=$(echo $option | tr " " "_")
MENU_OPTIONS="$MENU_OPTIONS $n ${option}"
done < $TMP_MENU_FILE
done < /tmp/iso_menu.txt

whiptail --clear --title "Select your ISO boot option" \
--menu "Choose the ISO boot option [1-$n, s for standard boot, a to abort]:" 20 120 8 \
Expand Down

0 comments on commit 54eaba3

Please sign in to comment.