From 85139f149439ffde2b652a90d41d9e41e364c65c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 23 Mar 2014 14:58:32 +0100 Subject: remove duplicate stuff already in rcS --- package/base-files/src/etc/init.d/boot | 4 ---- 1 file changed, 4 deletions(-) (limited to 'package/base-files/src/etc/init.d/boot') diff --git a/package/base-files/src/etc/init.d/boot b/package/base-files/src/etc/init.d/boot index 2e7215fb8..1af4acdf3 100644 --- a/package/base-files/src/etc/init.d/boot +++ b/package/base-files/src/etc/init.d/boot @@ -4,10 +4,6 @@ . /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 -- cgit v1.2.3 From dcb0b50b2476edc40a7f1a877625d9cb2e862fe1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 25 Mar 2014 11:50:38 +0100 Subject: fix recursive tmp crap --- package/base-files/src/etc/init.d/boot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/src/etc/init.d/boot') diff --git a/package/base-files/src/etc/init.d/boot b/package/base-files/src/etc/init.d/boot index 1af4acdf3..291bf6ab4 100644 --- a/package/base-files/src/etc/init.d/boot +++ b/package/base-files/src/etc/init.d/boot @@ -27,9 +27,9 @@ cat /etc/.rnd >/dev/urandom 2>&1 # create some useful directories in tmpfs mkdir -p /var/log mkdir -p /var/run +mkdir -p /var/tmp touch /var/log/lastlog touch /var/log/wtmp -ln -s /tmp /var/tmp HOSTNAME= [[ -s /etc/hostname ]] && HOSTNAME=$(cat /etc/hostname) -- cgit v1.2.3