diff options
author | Bill Nottingham <notting@redhat.com> | 1999-07-29 15:29:45 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-07-29 15:29:45 +0000 |
commit | a01fe4a13880b0f2b755c70a1decc557e99ffd30 (patch) | |
tree | 247e979396f04204cbdd91e2128f664c2a23839c /rc.d | |
parent | a7058f404539a2c26e3810992b510580b095bcf0 (diff) | |
download | initscripts-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-x | rc.d/rc.sysinit | 5 |
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 |