mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
fix(linux64-jump): disable console blanking after kexec
This commit is contained in:
parent
67384bfb73
commit
80f406163f
1 changed files with 2 additions and 2 deletions
|
|
@ -21,10 +21,10 @@ sync
|
||||||
mkdir -p /etc
|
mkdir -p /etc
|
||||||
if [ "${BARE_METAL}" = True ]; then
|
if [ "${BARE_METAL}" = True ]; then
|
||||||
kexec -l "${current_kernel}" \
|
kexec -l "${current_kernel}" \
|
||||||
--append="root=/dev/sda1 init=/init rw rootwait"
|
--append="root=/dev/sda1 init=/init rw rootwait consoleblank=0"
|
||||||
else
|
else
|
||||||
kexec -l "${current_kernel}" --console-serial \
|
kexec -l "${current_kernel}" --console-serial \
|
||||||
--append="console=ttyS0 root=/dev/sda1 init=/init rw rootwait"
|
--append="console=ttyS0 root=/dev/sda1 init=/init rw rootwait consoleblank=0"
|
||||||
fi
|
fi
|
||||||
sync
|
sync
|
||||||
echo u > /proc/sysrq-trigger || true
|
echo u > /proc/sysrq-trigger || true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue