aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-07-29 15:29:45 +0000
committerBill Nottingham <notting@redhat.com>1999-07-29 15:29:45 +0000
commita01fe4a13880b0f2b755c70a1decc557e99ffd30 (patch)
tree247e979396f04204cbdd91e2128f664c2a23839c /rc.d
parenta7058f404539a2c26e3810992b510580b095bcf0 (diff)
downloadinitscripts-a01fe4a13880b0f2b755c70a1decc557e99ffd30.tar
initscripts-a01fe4a13880b0f2b755c70a1decc557e99ffd30.tar.gz
initscripts-a01fe4a13880b0f2b755c70a1decc557e99ffd30.tar.bz2
initscripts-a01fe4a13880b0f2b755c70a1decc557e99ffd30.tar.xz
initscripts-a01fe4a13880b0f2b755c70a1decc557e99ffd30.zip
remove /etc/HOSTNAME
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