diff options
author | Erik Troan <ewt@redhat.com> | 1998-04-05 19:48:33 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1998-04-05 19:48:33 +0000 |
commit | a61919722d8162b6154fabeaad6a9a43ccec2277 (patch) | |
tree | 75608694aa88799957eac8baff06a41132cddba5 /rc.d | |
parent | f9d8ca8195162004f1edda812e16121a8089f690 (diff) | |
download | initscripts-a61919722d8162b6154fabeaad6a9a43ccec2277.tar initscripts-a61919722d8162b6154fabeaad6a9a43ccec2277.tar.gz initscripts-a61919722d8162b6154fabeaad6a9a43ccec2277.tar.bz2 initscripts-a61919722d8162b6154fabeaad6a9a43ccec2277.tar.xz initscripts-a61919722d8162b6154fabeaad6a9a43ccec2277.zip |
moved adding /etc/resolv.conf search path to normal reverse name lookupr3-52
handling
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 955d271d..b89730db 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -25,10 +25,6 @@ swapon -a hostname ${HOSTNAME} echo hostname: `hostname` -if [ -n ${DOMAIN} ]; then - DOMAIN=`echo $HOSTNAME | sed 's/^[^\.]*\.//'` -fi - # Set the NIS domain name if [ -n "$NISDOMAIN" ]; then domainname $NISDOMAIN @@ -161,10 +157,6 @@ if [ -x /sbin/kerneld -a -n "$USEMODULES" ]; then KERNELD=yes fi -if ! grep search /etc/resolv.conf ; then - echo "search $DOMAIN" >> /etc/resolv.conf -fi - # Check filesystems if [ ! -f /fastboot ]; then echo "Checking filesystems." |