summaryrefslogtreecommitdiff
path: root/source/a/elilo/eliloconfig
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/elilo/eliloconfig')
-rw-r--r--source/a/elilo/eliloconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/a/elilo/eliloconfig b/source/a/elilo/eliloconfig
index 91f66d69..912d6505 100644
--- a/source/a/elilo/eliloconfig
+++ b/source/a/elilo/eliloconfig
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright 2013 Patrick Volkerding, Sebeka, Minnesota, USA
+# Copyright 2013, 2016 Patrick Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -88,10 +88,10 @@ fi
# Figure out the device and partition number of the ESP:
if mount | grep vfat | grep -wq /boot/efi ; then
EFI_DEVICE=$(mount | grep vfat | grep -w /boot/efi | cut -b 1-8)
- EFI_PARTITION=$(mount | grep vfat | grep -w /boot/efi | cut -f 1 -d ' ' | cut -b 9-)
+ EFI_PARTITION=$(mount | grep vfat | grep -w /boot/efi | cut -f 1 -d ' ' | cut -b 9- | tr -d [a-z])
else
EFI_DEVICE=$(mount | grep vfat | grep -w /mnt/boot/efi | cut -b 1-8)
- EFI_PARTITION=$(mount | grep vfat | grep -w /mnt/boot/efi | cut -f 1 -d ' ' | cut -b 9-)
+ EFI_PARTITION=$(mount | grep vfat | grep -w /mnt/boot/efi | cut -f 1 -d ' ' | cut -b 9- | tr -d [a-z])
fi
# There better be a kernel: