diff options
author | Bill Nottingham <notting@redhat.com> | 2000-08-07 18:40:04 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-08-07 18:40:04 +0000 |
commit | 31aa990b51f0538cd808c17b1a73b0643aa373fb (patch) | |
tree | c3da62f87946860800094a7367df2ecc58a4d58a | |
parent | b85e4116d8eecb6ef8840902b4c7aabb227edc49 (diff) | |
download | initscripts-31aa990b51f0538cd808c17b1a73b0643aa373fb.tar initscripts-31aa990b51f0538cd808c17b1a73b0643aa373fb.tar.gz initscripts-31aa990b51f0538cd808c17b1a73b0643aa373fb.tar.bz2 initscripts-31aa990b51f0538cd808c17b1a73b0643aa373fb.tar.xz initscripts-31aa990b51f0538cd808c17b1a73b0643aa373fb.zip |
remove support for /etc/HOSTNAME
-rwxr-xr-x | rc.d/rc.sysinit | 2 | ||||
-rw-r--r-- | sysconfig.txt | 3 | ||||
-rw-r--r-- | sysconfig/network-scripts/network-functions | 1 |
3 files changed, 0 insertions, 6 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 5d6fa5ff..149c895b 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -308,8 +308,6 @@ if [ -n "$IN_INITLOG" ]; then IN_INITLOG= fi -echo ${HOSTNAME} > /etc/HOSTNAME - if ! grep -i nomodules /proc/cmdline >/dev/null && [ -f /proc/ksyms ]; then USEMODULES=y else diff --git a/sysconfig.txt b/sysconfig.txt index 8460fc26..368a90e2 100644 --- a/sysconfig.txt +++ b/sysconfig.txt @@ -107,9 +107,6 @@ Files in /etc/sysconfig NETWORKING=yes|no HOSTNAME=<fqdn by default, but whatever hostname you want> - Note: for compatibility with some old software people might - install (like trn), the /etc/HOSTNAME file should contain the - same value as here. GATEWAY=<gateway IP> GATEWAYDEV=<gateway device> (e.g. eth0) NISDOMAIN=<nis domain name> diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 42fb72be..7e542aaa 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -41,7 +41,6 @@ need_hostname() set_hostname() { - echo "$1" > /etc/HOSTNAME hostname $1 if ! grep search /etc/resolv.conf >/dev/null 2>&1; then domain=`echo $1 | sed 's/^[^\.]*\.//'` |