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