fix
This commit is contained in:
parent
ab5697f876
commit
a111028541
@ -700,7 +700,7 @@ bootloader() {
|
||||
#MACHINE_ID=$(cat /etc/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)
|
||||
KERNEL_VERSION=$(ls /efi/$MACHINE_ID | tail -1)
|
||||
ROOT_NAME=$1
|
||||
BTRFS=$2
|
||||
LOADER_FILE="/efi/loader/entries/$MACHINE_ID-$KERNEL_VERSION.conf"
|
||||
|
Loading…
Reference in New Issue
Block a user