Update gentoo-kde.sh

This commit is contained in:
verita84 2024-02-15 21:46:44 -07:00
parent c68fa3e571
commit 0fd378b0a2

View File

@ -607,8 +607,10 @@ bootloader() {
echo "Configuring Bootloader......."
echo
echo
#MACHINE_ID=$(cat /etc/machine-id)
MACHINE_ID=$(ls /efi | grep -Evi 'loader|efi')
MACHINE_ID=$(cat /etc/machine-id)
mkdir -p /efi/$MACHINE_ID
cp -rf /boot/* /efi/$MACHINE_ID
#MACHINE_ID=$(ls /efi | grep -Evi 'loader|efi')
KERNEL=$(eselect kernel list | cut -d ']' -f2 | cut -d "*" -f1 | cut -d "-" -f2 | tail -1)
KERNEL_VERSION=$(ls /efi/$MACHINE_ID)
ROOT_NAME=$1