summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-29 09:06:27 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-29 09:06:27 +0100
commit40fcb885d64153d3196f8a6ad8ca9a679b4a61b5 (patch)
treec65da15b51c5fcf5dd5e5f2c038fa57455b03a21 /package/base-files/src/etc
parentede0b881160024db41b69198207a3e9905eea6c9 (diff)
parent50dc4372e21202d2e285bd295ec18c759b66c4d9 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files/src/etc')
-rw-r--r--package/base-files/src/etc/init.d/boot4
1 files changed, 1 insertions, 3 deletions
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