summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-01-24 22:47:27 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-01-24 22:47:27 +0100
commit2826acfb9da3f85743ba3f8c2d34568109ab3c22 (patch)
tree89f7d95d01fecc99d93fe742c7483de21484929a /package/base-files
parent462b36473f28182d23f795cb93186fb4637856f2 (diff)
reduce mksh testsuite failure to 1
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/src/etc/init.d/rcS2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/src/etc/init.d/rcS b/package/base-files/src/etc/init.d/rcS
index 4ca17abbc..bc27ed29c 100755
--- a/package/base-files/src/etc/init.d/rcS
+++ b/package/base-files/src/etc/init.d/rcS
@@ -4,6 +4,8 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin
if [ -f /proc/sys/kernel/printk ];then
echo 0 > /proc/sys/kernel/printk
fi
+ln -s /proc/self/fd/0 /dev/stdin
+ln -s /proc/self/fd/1 /dev/stdout
ln -s /proc/self/fd/2 /dev/stderr
: ${rcquiet=0}
if [ $rcquiet -ne 1 ];then