summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-10 17:27:08 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-10 17:27:08 +0100
commitf7f9e0225b9267890304b4df96e8ae0beb6e5f5f (patch)
tree1fb6275bb6d1f3d4c66ec2ca4b5cf928ebbd7442 /package/base-files/src/etc
parent3ae829cba98c71a4b4143f443ea65fcf370006e4 (diff)
parent44932830ce3c80e4eb838146f2aa6a6890bdfa36 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files/src/etc')
-rw-r--r--package/base-files/src/etc/init.d/boot4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/base-files/src/etc/init.d/boot b/package/base-files/src/etc/init.d/boot
index b859d1d89..8daf52b89 100644
--- a/package/base-files/src/etc/init.d/boot
+++ b/package/base-files/src/etc/init.d/boot
@@ -5,7 +5,9 @@
. /etc/functions.sh
# disable kernel messages
-echo 0 > /proc/sys/kernel/printk
+if [ -f /proc/sys/kernel/printk ];then
+ echo 0 > /proc/sys/kernel/printk
+fi
# remount /dev with smaller size
mount -o remount,nosuid,size=128k,mode=0755 -t tmpfs mdev /dev