summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc/init.d/boot
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/src/etc/init.d/boot')
-rw-r--r--package/base-files/src/etc/init.d/boot5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/base-files/src/etc/init.d/boot b/package/base-files/src/etc/init.d/boot
index fc2f79ac2..f52e8dc78 100644
--- a/package/base-files/src/etc/init.d/boot
+++ b/package/base-files/src/etc/init.d/boot
@@ -4,6 +4,10 @@
. /etc/functions.sh
+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
@@ -15,7 +19,6 @@ mount -o remount,nosuid,nodev,mode=1777,size=${size}k -t tmpfs tmpfs /tmp
# start mdev dynamic device node management
echo >/dev/mdev.seq
echo "/sbin/mdev" >/proc/sys/kernel/hotplug
-mdev -s
# seed some random
cat /etc/.rnd >/dev/urandom 2>&1