summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-10 15:51:21 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-10 15:51:21 +0100
commit31728d3c791ee94c4da715f259091c2b535e2275 (patch)
tree1707f6e4887fef9aac1074705b8a63a78ac3bbf5 /package/base-files/src/etc
parent15b8fe03024872b725b75616f09baf069d48b480 (diff)
parent25f8e4c49f42c61bab6eb5241b00b7fe199b0fae (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