switch from getty to root shell on console
this just makes things marginally simpler
This commit is contained in:
1 parent
c8b2d58dd3
commit
a0bd250963
8 files changed
+14
-11
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user