switch from getty to root shell on console

this just makes things marginally simpler
This commit is contained in:
Daniel Barlow
2023-11-21 23:02:51 +00:00
parent c8b2d58dd3
commit a0bd250963
8 changed files with 14 additions and 11 deletions

View File

@@ -80,10 +80,17 @@ let
run = {
file = ''
#!${execline}/bin/execlineb -P
/bin/getty -l /bin/login 115200 /dev/console
${execline}/bin/redirfd -w 2 /dev/console
${execline}/bin/fdmove -c 1 2
${execline}/bin/redirfd -r 0 /dev/console
${execline}/bin/cd /
/bin/ash -l
'';
mode = "0755";
};
down-signal = {
file = "HUP\n";
};
};
".s6-svscan" =
let