This repository holds ttyinit
- TTY initializer, based on Busybox
implementation of init
.
I wrote this because I'm creating a very minimal distro that uses Toybox and Rich Felker's init, which Toybox init isn't stable yet and would be standard (and a bit bloated like others) and Rich Felker's doesn't do any TTY initialization, so this tiny utility will do it.
ttyinit TTYPATH CMD [ARG1] [ARG2] ...
Example:
ttyinit /dev/tty1 /bin/sh
ttyinit
must be run as superuser.
ttyinit is licensed under GPLv2, in accordance with Busybox license.
Copyright (C) 1995-2023 The Busybox Project
Copyright (C) 2023 Aldo Adirajasa Fathoni