From 3755ddb47a5aece00b02c186bc87850e8dc8ffd8 Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Mon, 22 Oct 2018 11:01:05 -0400 Subject: [PATCH] $TMP_MENU_FILE is an unknown variable. Replaced with /tmp/iso_menu.txt so usb-scan works. --- initrd/bin/usb-scan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initrd/bin/usb-scan b/initrd/bin/usb-scan index 66de9555..57f6879b 100755 --- a/initrd/bin/usb-scan +++ b/initrd/bin/usb-scan @@ -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 \