mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix kernel version boot screen
Signed-off-by: Tobias Powalowski <tpowa@archlinux.org>
This commit is contained in:
parent
0ba8da1139
commit
22780f9e5c
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ kver() {
|
|||
[[ $offset = +([0-9]) ]] || return 1
|
||||
|
||||
read kver _ < \
|
||||
<(dd if="$1" bs=1 count=127 skip=$(( offset + 0x200 )) 2>/dev/null)
|
||||
<(dd if="/boot/vmlinuz-linux" bs=1 count=127 skip=$(( offset + 0x200 )) 2>/dev/null)
|
||||
|
||||
[[ $kver =~ $re ]] || return 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue