diff options
| author | Jonathan Bauer | 2014-02-03 18:34:22 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2014-02-03 18:34:22 +0100 |
| commit | a863c75c2215df87feb3752c117289683e7b81df (patch) | |
| tree | 114ba560acc4efd9523c2fb08e0785de5a06cb3c | |
| parent | [systemd] Add remote-fs.target (diff) | |
| download | tm-scripts-a863c75c2215df87feb3752c117289683e7b81df.tar.gz tm-scripts-a863c75c2215df87feb3752c117289683e7b81df.tar.xz tm-scripts-a863c75c2215df87feb3752c117289683e7b81df.zip | |
[rfs_s31] fix printk levels.... for the last time?
| -rwxr-xr-x | remote/rootfs/rootfs-stage31/data/inc/setup_stage32 | 4 | ||||
| -rwxr-xr-x | remote/rootfs/rootfs-stage31/data/init | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/remote/rootfs/rootfs-stage31/data/inc/setup_stage32 b/remote/rootfs/rootfs-stage31/data/inc/setup_stage32 index 6fe9a115..ba8bad00 100755 --- a/remote/rootfs/rootfs-stage31/data/inc/setup_stage32 +++ b/remote/rootfs/rootfs-stage31/data/inc/setup_stage32 @@ -50,9 +50,9 @@ cp /etc/hostname /etc/hosts /etc/resolv.conf "${FUTURE_ROOT}/etc/" # if booting with splash, suppress kernel output in stage32 if [ $SPLASH -eq 1 ]; then if grep -q -E "^ *kernel.printk" "${FUTURE_ROOT}/usr/lib/sysctl.d/50-default.conf"; then - sed -i 's/^ *kernel\.printk.*/kernel\.printk = 4 4 1 7/g' "${FUTURE_ROOT}/usr/lib/sysctl.d/50-default.conf" + sed -i 's/^ *kernel\.printk.*/kernel\.printk = 1 1 0 1/g' "${FUTURE_ROOT}/usr/lib/sysctl.d/50-default.conf" else - echo "kernel.printk = 4 4 1 7" >> "${FUTURE_ROOT}/usr/lib/sysctl.d/50-default.conf" + echo "kernel.printk = 1 1 0 1" >> "${FUTURE_ROOT}/usr/lib/sysctl.d/50-default.conf" fi fi diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init index aa851c21..e7fb712a 100755 --- a/remote/rootfs/rootfs-stage31/data/init +++ b/remote/rootfs/rootfs-stage31/data/init @@ -70,7 +70,7 @@ setup_gfx () { if [ $SPLASH -eq 1 ]; then exec 3>&1 4>&2 > /dev/null 2>&1 - echo "4 4 1 7" > /proc/sys/kernel/printk + echo "1 1 0 1" > /proc/sys/kernel/printk setup_gfx else setup_gfx & @@ -82,7 +82,7 @@ mdev -s # 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 + [ $DEBUG -ge 1 ] && echo "4 4 1 7" > /proc/sys/kernel/printk || echo "1 1 0 1" >/proc/sys/kernel/printk fi [ $DEBUG -ge 4 ] && drop_shell "Requested Debug Shell: before network." |
