From 0553608cc7032229ba3dd5df72afe9e8e2a8fccc Mon Sep 17 00:00:00 2001 From: kxtzownsu Date: Fri, 10 Jan 2025 09:05:32 -0500 Subject: [PATCH] add init script --- builder/bootstrap/noarch/bin/init | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 builder/bootstrap/noarch/bin/init diff --git a/builder/bootstrap/noarch/bin/init b/builder/bootstrap/noarch/bin/init new file mode 100755 index 0000000..62297a9 --- /dev/null +++ b/builder/bootstrap/noarch/bin/init @@ -0,0 +1,11 @@ +#!/bin/sh + +printf "\033]input:on\a" +printf "\033[?25h" + +clear +echo "PicoShim PoC without frecon restart" +echo "shell is pid 1, exit = kern panic" + +tty=/dev/pts/0 +setsid bash -c "exec script -afqc 'while :; do /bin/bash || :; done' /dev/null <${tty} >>${tty} 2>&1"