summaryrefslogtreecommitdiff
path: root/package/base-files/src
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-10 16:16:52 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-10 16:16:52 +0100
commite40eb0da36368624306275725d8e1d6b25422762 (patch)
tree44a9d1f8167b044db37a4b06a7f361081133d20a /package/base-files/src
parent683b7ec9393f21e2d9ef3c846a3fbf24178423ef (diff)
parent0241f2121f30dee91113e0e9619e618415f64de1 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files/src')
-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