diff --git a/scripts/init.sh b/scripts/init.sh index 6fbe832..ac188ad 100644 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -8,8 +8,5 @@ mount -t devtmpfs none /dev mount -t proc none /dev mount -t sysfs none /sys -# Start shell -/bin/sh - -# Shutdown the machine when shell is exited -poweroff -f \ No newline at end of file +# Start shell with proper tty and power off support +exec cttyhack sh \ No newline at end of file