manjaro-fix
This commit is contained in:
parent
50b4350f09
commit
6469b7e2c4
1 changed files with 4 additions and 1 deletions
|
@ -2,13 +2,16 @@
|
|||
|
||||
set -ex
|
||||
|
||||
|
||||
kernel1="$(echo $(find /boot/ -name "initramfs*.img") | cut -d" " -f2)"
|
||||
linuz1="$(find /boot/ -name "vmlinuz*")"
|
||||
linuz1="$(echo $(find /boot/ -name "vmlinuz*") | cut -d" " -f1)"
|
||||
kernel="${kernel1#/*/}"
|
||||
linuz="${linuz1#/*/}"
|
||||
|
||||
kernelback1="$(find /boot/ -name "initramfs*-fallback.img")"
|
||||
kernelback="${kernelback1#/*/}"
|
||||
|
||||
|
||||
echo "Kernel: ${kernel}"
|
||||
echo "Linuz: ${linuz}"
|
||||
echo "Kernel-fallback: ${kernelback}"
|
||||
|
|
Loading…
Reference in a new issue