From: Ralph Ronnquist Date: Sat, 28 Oct 2023 07:02:54 +0000 (+1100) Subject: End by running sh with job control X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=8b180c6b36f7b9e9cc403f97175fa0d8436d1343;p=rrq%2Ftiniest.git End by running sh with job control --- 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