rc script needs to open its own stdin, stdout and stderr
This commit is contained in:
parent
011de3ac49
commit
b6b361a474
1 changed files with 4 additions and 0 deletions
4
etc/rc
4
etc/rc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue