diff options
| author | Michael Neves | 2013-03-13 18:36:40 +0100 |
|---|---|---|
| committer | Michael Neves | 2013-03-13 18:36:40 +0100 |
| commit | 893ec4b189e05d13c1ce80d2abab4ed232995224 (patch) | |
| tree | 9bdabf1062abd4259c0ee9e1171392a3cb2bc6ea /remote/core/data/init | |
| parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-893ec4b189e05d13c1ce80d2abab4ed232995224.tar.gz tm-scripts-893ec4b189e05d13c1ce80d2abab4ed232995224.tar.xz tm-scripts-893ec4b189e05d13c1ce80d2abab4ed232995224.zip | |
switch off kernel debug output if debug flag not set
Diffstat (limited to 'remote/core/data/init')
| -rwxr-xr-x | remote/core/data/init | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/remote/core/data/init b/remote/core/data/init index 25508e66..ef9c32a7 100755 --- a/remote/core/data/init +++ b/remote/core/data/init @@ -153,6 +153,9 @@ mount -n --move /dev/shm/uniontmp /mnt/uniontmp if [ $DEBUG -ge 1 ]; then echo "Starting debug shell, CTRL + D will start Stage 3.2." setsid sh -c 'exec sh </dev/tty1 >/dev/tty1 2>&1' +else + #Debug is not set so hide kernel debug output + echo "0 0 0 0" >/proc/sys/kernel/printk fi for mnt in proc sys run ; do |
