projects
/
rrq
/
tiniest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
49b4c2e
)
End by running sh with job control
author
Ralph Ronnquist
<rrq@rrq.au>
Sat, 28 Oct 2023 07:02:54 +0000
(18:02 +1100)
committer
Ralph Ronnquist
<rrq@rrq.au>
Sat, 28 Oct 2023 07:02:54 +0000
(18:02 +1100)
init/init
patch
|
blob
|
history
diff --git
a/init/init
b/init/init
index bf114bcd87918ac4ad52c4b83c8d6c6c9ecd0a14..018a78b997a915cab599948098b98c84862b5920 100644
(file)
--- 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