mirror of
https://git.proxmox.com/git/grub2
synced 2025-05-16 14:28:32 +00:00
15 lines
316 B
Plaintext
15 lines
316 B
Plaintext
#! @builddir@/grub-shell-tester
|
|
|
|
for device in 'hd0' 'fd0'; do
|
|
# But search them if their search has been inforced
|
|
set fd0search="no"
|
|
if [ "$device" != "fd0" -a "$device" != "cd" \
|
|
-o \
|
|
"$device" = "fd0" -a "$fd0search" = "yes" ]\
|
|
; then
|
|
echo "Yes"
|
|
else
|
|
echo "No"
|
|
fi
|
|
|
|
done |