mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove shutdown hook code
This commit is contained in:
parent
e9222cafce
commit
0c864bb53e
1 changed files with 0 additions and 2 deletions
|
@ -4802,8 +4802,6 @@ auto_hwdetect() {
|
||||||
HWPARAMETER="${HWPARAMETER} --dmraid"
|
HWPARAMETER="${HWPARAMETER} --dmraid"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# check for separate /usr partition
|
|
||||||
[[ $(mount | grep "${DESTDIR}/usr ") ]] && HWPARAMETER="${HWPARAMETER} --shutdown"
|
|
||||||
[[ "$(${_LSBLK} FSTYPE ${PART_ROOT})" = "btrfs" ]] && HWPARAMETER="${HWPARAMETER} --btrfs"
|
[[ "$(${_LSBLK} FSTYPE ${PART_ROOT})" = "btrfs" ]] && HWPARAMETER="${HWPARAMETER} --btrfs"
|
||||||
offset=$(hexdump -s 526 -n 2 -e '"%0d"' "${DESTDIR}/boot/${VMLINUZ}")
|
offset=$(hexdump -s 526 -n 2 -e '"%0d"' "${DESTDIR}/boot/${VMLINUZ}")
|
||||||
read HWKER _ < <(dd if="${DESTDIR}/boot/${VMLINUZ}" bs=1 count=127 skip=$(( offset + 0x200 )) 2>/dev/null)
|
read HWKER _ < <(dd if="${DESTDIR}/boot/${VMLINUZ}" bs=1 count=127 skip=$(( offset + 0x200 )) 2>/dev/null)
|
||||||
|
|
Loading…
Reference in a new issue