logo

bootstrap-initrd

Linux initrd generator to bootstrap a POSIX-ish system from a reasonably small binary seed git clone https://hacktivis.me/git/make-initrd.git
commit: 27a82d03736dae297ea97288453568cdb96ef117
parent d4d7c943e5855c502baed180ea769e4db2594242
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 28 Apr 2024 19:28:23 +0200

init.c: Remove PS1 export (mrsh artifact)

Diffstat:

Minit.c2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/init.c b/init.c @@ -72,8 +72,6 @@ main(int argc, char *argv[]) fprintf(stderr, "Launching: /bin/loksh /init.sh\n"); - setenv("PS1", "> ", 1); - if(execl("/bin/loksh", "/bin/loksh", "/init.sh", NULL) < 0) { fprintf(stderr, "Failed to execute: %s\n", strerror(errno));