init: symlink /dev/stdin /dev/stdout /dev/stderr

master
Harald Hoyer 2010-10-07 19:11:11 +02:00
parent 4bacdf2811
commit 2ca35ac7ee
1 changed files with 3 additions and 0 deletions

View File

@ -94,6 +94,9 @@ if [ ! -c /dev/ptmx ]; then
fi

ln -s /proc/self/fd /dev/fd >/dev/null 2>&1
ln -s /proc/self/fd/0 /dev/stdin >/dev/null 2>&1
ln -s /proc/self/fd/1 /dev/stdout >/dev/null 2>&1
ln -s /proc/self/fd/2 /dev/stderr >/dev/null 2>&1

if getarg rdinitdebug; then
getarg quiet && DRACUT_QUIET="yes"