mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add missing quotes
This commit is contained in:
parent
005b7efb48
commit
7b74ab2bdd
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ _create_initramfs() {
|
|||
done
|
||||
}
|
||||
|
||||
_kexec () {
|
||||
_kexec() {
|
||||
# you need approx. 3x size for KEXEC_FILE_LOAD
|
||||
if [[ "$(echo $(($(stat -c %s /initrd.img)*3.02)) | sed -e 's#\..*##g')" -lt "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$#000#g')" ]]; then
|
||||
echo -e "Running \033[1m\033[92mkexec\033[0m with \033[1mnew\033[0m KEXEC_FILE_LOAD ..."
|
||||
|
|
Loading…
Reference in a new issue