cross-ng: Disable "exec" as well as "exit" for init shell

This commit is contained in:
Xi Ruoyao 2024-02-14 18:57:26 +08:00
parent ac82b964d8
commit 83b0abd7cf
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -14,7 +14,7 @@
so exiting from it will cause kernel panic. Prevent exiting from the
shell accidentally:</para>
<screen role="nodump"><userinput>enable -n exit
<screen role="nodump"><userinput>enable -n exit exec
readonly IGNOREEOF=1000</userinput></screen>
<para>The standard I/O streams of the initial shell process is connected