summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-06-02 15:56:59 +0200
committerTom Gundersen <teg@jklm.no>2011-06-02 15:56:59 +0200
commite404acd5fdeb0a7511e47b539c717e66a62777a9 (patch)
treeb931d048b3609e2d6598b069e4960bb923b3a127
parente1f69e92b15cc3dec68effba86ee0f48fe4ee55e (diff)
nisdomainname: remove support
This is as part of deprecating net-tools. nisdoaminname has been moved to yp-tools, and the location of the config file has changed. When using ypbind the doaminname is set as part of the rc script. If needed for other purposes a new rc script should be added. Signed-off-by: Tom Gundersen <teg@jklm.no>
-rwxr-xr-xrc.sysinit7
1 files changed, 0 insertions, 7 deletions
diff --git a/rc.sysinit b/rc.sysinit
index c4546eb..c87e3dc 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -330,13 +330,6 @@ if [[ $HOSTNAME ]]; then
status "Setting Hostname: $HOSTNAME" /bin/hostname "$HOSTNAME"
fi
-# Set the NIS domain name, if necessary
-[[ -f /etc/conf.d/nisdomainname ]] && . /etc/conf.d/nisdomainname
-if [[ $NISDOMAINNAME ]]; then
- status "Setting NIS Domain Name: $NISDOMAINNAME" \
- /bin/nisdomainname "$NISDOMAINNAME"
-fi
-
stat_busy "Setting Locale: ${LOCALE:=en_US}"
# Flush old locale settings
: >| /etc/profile.d/locale.sh