aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit5
1 files changed, 1 insertions, 4 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 1d0144f5..0f57fadf 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -206,10 +206,7 @@ if [ -n "$IN_INITLOG" ]; then
IN_INITLOG=
fi
-# /etc/HOSTNAME is obsolete.
-if [ -f /etc/HOSTNAME ]; then
- rm -f /etc/HOSTNAME
-fi
+echo ${HOSTNAME} > /etc/HOSTNAME
# Clear mtab
>/etc/mtab