summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-11-30 05:16:32 +0000
committerBill Nottingham <notting@redhat.com>2000-11-30 05:16:32 +0000
commitd0a7def7462c7bc45f39ae815dfa0eb692202b30 (patch)
tree674172cf6c3af1207b72b02751f9ca89da30cc52
parent5ad34aa24070c9d6080a240d37e28cbe2c0382e6 (diff)
downloadinitscripts-d0a7def7462c7bc45f39ae815dfa0eb692202b30.tar.gz
initscripts-d0a7def7462c7bc45f39ae815dfa0eb692202b30.tar.xz
initscripts-d0a7def7462c7bc45f39ae815dfa0eb692202b30.zip
don't set NIS domain name
-rwxr-xr-xrc.d/rc.sysinit14
1 files changed, 0 insertions, 14 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 7df4f524..6be943d1 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
@@ -507,13 +500,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