aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/rc.sysinit2
-rw-r--r--sysconfig.txt3
-rw-r--r--sysconfig/network-scripts/network-functions1
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/^[^\.]*\.//'`