From 8b180c6b36f7b9e9cc403f97175fa0d8436d1343 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Sat, 28 Oct 2023 18:02:54 +1100 Subject: [PATCH 1/1] End by running sh with job control --- init/init | 1 + 1 file changed, 1 insertion(+) diff --git a/init/init b/init/init index bf114bc..018a78b 100644 --- a/init/init +++ b/init/init @@ -37,5 +37,6 @@ mount LABEL=TINIEST /cdrom mount -t ramfs -o size=1G initrd /target gunzip < $(find /cdrom -name initrd.gz ) | ( cd /target && cpio -i ) +exec setsid cttyhack sh -i exec /bin/sh exec switch_root -c /dev/console /target /init -- 2.39.2