summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2014-01-30 17:30:52 +0100
committerJonathan Bauer2014-01-30 17:30:52 +0100
commit2c6ec89b9713f860f351a15ed01154e63ef38827 (patch)
treef45ea15f8654ca95d7d613bcbed40d353325bfb6
parentMerge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff)
downloadtm-scripts-2c6ec89b9713f860f351a15ed01154e63ef38827.tar.gz
tm-scripts-2c6ec89b9713f860f351a15ed01154e63ef38827.tar.xz
tm-scripts-2c6ec89b9713f860f351a15ed01154e63ef38827.zip
[rfs-s31] suppress kernel output if splash NOT active ...
-rwxr-xr-xremote/rootfs/rootfs-stage31/data/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init
index 7e4e3370..c14513ae 100755
--- a/remote/rootfs/rootfs-stage31/data/init
+++ b/remote/rootfs/rootfs-stage31/data/init
@@ -80,8 +80,8 @@ fi
# discover devices
mdev -s
-# suppress kernel output if DEBUG is not set
-if [ $SPLASH -eq 1 ]; then
+# suppress kernel output if neither DEBUG nor SPLASH is set
+if [ $SPLASH -eq 0 ]; then
[ $DEBUG -ge 1 ] && echo "0 0 0 0" > /proc/sys/kernel/printk || echo "4 4 1 7" >/proc/sys/kernel/printk
fi