diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-20 12:09:10 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-20 12:09:10 +0100 |
commit | 5505e752efd2488253c910b6176cfdb047cfd904 (patch) | |
tree | 282b4b4045a7ed23cf80eb0b669734346d8dc522 /package/base-files/src/init | |
parent | 97f2e609ed22a40a7434d0466f6de3626ec32b79 (diff) |
finetune startup, avoid kernel messages on tty
Diffstat (limited to 'package/base-files/src/init')
-rwxr-xr-x | package/base-files/src/init | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/src/init b/package/base-files/src/init index 003808452..ad519e96d 100755 --- a/package/base-files/src/init +++ b/package/base-files/src/init @@ -3,6 +3,7 @@ echo "System initialization ..." export PATH=/bin:/sbin:/usr/bin:/usr/sbin mount -t devtmpfs devtmpfs /dev >/dev/null 2>&1 mount -nt proc proc /proc +echo 0 > /proc/sys/kernel/printk mount -o nosuid,nodev,noexec -t sysfs sysfs /sys [ ! -f /etc/notmpfs ] && { size=$(cat /etc/tmpfs 2>/dev/null) |