shinit

basic init daemon in POSIX sh
git clone git://git.ckyln.com/~cem/shinit.git
Log | Files | Refs | README | LICENSE

commit 9fe01a8c5c99c3d853b4d0ebda784e83745c315e
parent 8b5838cb396a9df917f99ba0773325d925014e23
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri, 24 Apr 2020 14:28:10 +0300

shinit: do not unnecessarily fork

Diffstat:
Mshinit | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shinit b/shinit @@ -3,8 +3,8 @@ # Exit with status 1 if pid is not 1 [ $$ -eq 1 ] || exit 1 -# Run boot script and fork -/lib/init/rc.boot & +# Run the boot script +/lib/init/rc.boot # Sleep for a day. As sleep is not a builtin for every # shell, we don't want to keep spawning processes, hence