We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0350e0 commit fcffb0dCopy full SHA for fcffb0d
1 file changed
initrd/bin/media-scan
@@ -79,8 +79,8 @@ get_menu_option() {
79
fi
80
}
81
82
-# create ISO menu options
83
-ls -1r /media/*.iso 2>/dev/null > /tmp/iso_menu.txt || true
+# create ISO menu options - search recursively for ISO files
+find /media -name "*.iso" -type f 2>/dev/null | sort -r > /tmp/iso_menu.txt || true
84
if [ `cat /tmp/iso_menu.txt | wc -l` -gt 0 ]; then
85
option_confirm=""
86
while [ -z "$option" -a "$option_index" != "s" ]
0 commit comments