rc script needs to open its own stdin, stdout and stderr

This commit is contained in:
Ben Gras 2008-12-11 14:50:56 +00:00
parent 011de3ac49
commit b6b361a474

4
etc/rc
View file

@ -1,5 +1,9 @@
# /etc/rc - System startup script run by init before going multiuser.
exec >/dev/log
exec 2>/dev/log
exec </dev/null
umask 022
TERM="${TERM-minix}"
PATH=/usr/local/bin:/bin:/usr/bin:/usr/sbin