aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-11-30 05:14:06 +0000
committerBill Nottingham <notting@redhat.com>2000-11-30 05:14:06 +0000
commit74bedc65b4bf16acec12f3c6b72a27bc1dc30ea5 (patch)
tree3718e8212826fda140c462407e67edfcf3a7a714
parent5ad34aa24070c9d6080a240d37e28cbe2c0382e6 (diff)
downloadinitscripts-74bedc65b4bf16acec12f3c6b72a27bc1dc30ea5.tar
initscripts-74bedc65b4bf16acec12f3c6b72a27bc1dc30ea5.tar.gz
initscripts-74bedc65b4bf16acec12f3c6b72a27bc1dc30ea5.tar.bz2
initscripts-74bedc65b4bf16acec12f3c6b72a27bc1dc30ea5.tar.xz
initscripts-74bedc65b4bf16acec12f3c6b72a27bc1dc30ea5.zip
don't set NIS domainname
-rwxr-xr-xrc.d/rc.sysinit13
1 files changed, 0 insertions, 13 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 7df4f524..0dfedcdc 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -147,13 +147,6 @@ action "Activating swap partitions: " swapon -a
# Set the hostname.
action "Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME}
-# Set the NIS domain name
-if [ -n "$NISDOMAIN" ]; then
- action "Setting NIS domain name $NISDOMAIN: " domainname $NISDOMAIN
-else
- domainname ""
-fi
-
# Initialize USB controller and HID devices
usb=0
if ! grep -iq "nousb" /proc/cmdline 2>/dev/null && ! grep -q "usb" /proc/devices 2>/dev/null ; then
@@ -508,12 +501,6 @@ if [ -f /.unconfigured ]; then
# Reset the hostname.
action "Resetting hostname ${HOSTNAME}: " hostname ${HOSTNAME}
- # Reset the NIS domain name.
- if [ -n "$NISDOMAIN" ]; then
- action "Resetting NIS domain name $NISDOMAIN: " domainname $NISDOMAIN
- else
- domainname ""
- fi
fi
rm -f /.unconfigured