summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc/init.d/rcS
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/src/etc/init.d/rcS')
-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