logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://anongit.hacktivis.me/git/bootstrap-initrd.git/
commit: dae43c6b579c353855e614a686bb36d86a6c8970
parent 3bfe4db66c28fe978b3c8dbda9050d4506293b9a
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun,  2 Feb 2025 14:04:18 +0100

init.sh: strip out baudrate argument for getty

Diffstat:

Minit.sh5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/init.sh b/init.sh @@ -223,7 +223,10 @@ else for arg in $(cat /proc/cmdline); do case $arg in console=*) - getty "/dev/${arg#console=}" /bin/sh -l & + target=${arg#console=} + device=${target%,*} + # baud=${target#*,} + getty "/dev/${device}" /bin/sh -l & ;; esac done