summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc/init.d/rcS
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-11 14:21:31 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-11 14:21:31 +0100
commitd65d767c45ebce8001ec1e028fba9d7881b5f847 (patch)
tree93d6a8b9f94efaa754619cc54c4dd46d29ed5036 /package/base-files/src/etc/init.d/rcS
parentf9c7b800e7bf803b808cdbefd645a6878d0a101e (diff)
parent2e0e960c27afd0218d58157eefc89d5456406035 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files/src/etc/init.d/rcS')
-rwxr-xr-xpackage/base-files/src/etc/init.d/rcS4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/base-files/src/etc/init.d/rcS b/package/base-files/src/etc/init.d/rcS
index d34cce6e9..9daa8f5cd 100755
--- a/package/base-files/src/etc/init.d/rcS
+++ b/package/base-files/src/etc/init.d/rcS
@@ -1,4 +1,8 @@
#!/bin/sh
+# disable kernel messages
+if [ -f /proc/sys/kernel/printk ];then
+ echo 0 > /proc/sys/kernel/printk
+fi
echo "System initialization ..."
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
ln -s /proc/self/fd/2 /dev/stderr