diff options
author | Bill Nottingham <notting@redhat.com> | 1999-07-29 15:36:58 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-07-29 15:36:58 +0000 |
commit | b59cac0d85822005f34c3d81f60bcb1ca150b8d6 (patch) | |
tree | bd1eeabcb5a9170465e8ab3a2a2e12a97430980f /rc.d | |
parent | a01fe4a13880b0f2b755c70a1decc557e99ffd30 (diff) | |
download | initscripts-b59cac0d85822005f34c3d81f60bcb1ca150b8d6.tar initscripts-b59cac0d85822005f34c3d81f60bcb1ca150b8d6.tar.gz initscripts-b59cac0d85822005f34c3d81f60bcb1ca150b8d6.tar.bz2 initscripts-b59cac0d85822005f34c3d81f60bcb1ca150b8d6.tar.xz initscripts-b59cac0d85822005f34c3d81f60bcb1ca150b8d6.zip |
set /etc/HOSTNAME no matter what...
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 5 |
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 |