From 5505e752efd2488253c910b6176cfdb047cfd904 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 20 Jan 2014 12:09:10 +0100 Subject: finetune startup, avoid kernel messages on tty --- package/base-files/src/etc/init.d/boot | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'package/base-files/src/etc') diff --git a/package/base-files/src/etc/init.d/boot b/package/base-files/src/etc/init.d/boot index ed55ccc88..df2c493d7 100644 --- a/package/base-files/src/etc/init.d/boot +++ b/package/base-files/src/etc/init.d/boot @@ -10,12 +10,10 @@ touch /var/log/lastlog touch /var/log/wtmp ln -s /tmp /var/tmp -echo 0 > /proc/sys/kernel/printk - HOSTNAME= [[ -s /etc/hostname ]] && HOSTNAME=$(cat /etc/hostname) HOSTNAME=${HOSTNAME%%.*} -echo ${HOSTNAME:=linux} >/proc/sys/kernel/hostname +echo ${HOSTNAME:=openadk} >/proc/sys/kernel/hostname chown 0:0 /tmp; chmod 1777 /tmp -- cgit v1.2.3