~cemkeylan/shinit

9fe01a8c5c99c3d853b4d0ebda784e83745c315e — Cem Keylan 4 years ago 8b5838c
shinit: do not unnecessarily fork
1 files changed, 2 insertions(+), 2 deletions(-)

M shinit
M shinit => shinit +2 -2
@@ 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