diff options
Diffstat (limited to 'package/base-files/src/etc/init.d/rcS')
-rwxr-xr-x | package/base-files/src/etc/init.d/rcS | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/src/etc/init.d/rcS b/package/base-files/src/etc/init.d/rcS index ef3a52a31..e27bc9eb5 100755 --- a/package/base-files/src/etc/init.d/rcS +++ b/package/base-files/src/etc/init.d/rcS @@ -3,6 +3,7 @@ if [ -f /proc/sys/kernel/printk ];then echo 0 > /proc/sys/kernel/printk fi +ln -s /proc/self/fd/2 /dev/stderr echo "System initialization ..." export PATH=/bin:/sbin:/usr/bin:/usr/sbin { @@ -11,4 +12,4 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin while read line; do sh ${line%%:*} autostart done -} | logger -s -p 6 -t '' +} |tee /dev/stderr |logger -p 6 -t '' |