aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1997-10-15 15:50:50 +0000
committerErik Troan <ewt@redhat.com>1997-10-15 15:50:50 +0000
commita75f5e8b1306296cc0bb6ec34c1e15857c261818 (patch)
tree0e2e8fd338e7d9c545d68ab3cbc724b2a41f5cce /rc.d
parentc46a6a8a259652046196ad0534f34474cc655adb (diff)
downloadinitscripts-a75f5e8b1306296cc0bb6ec34c1e15857c261818.tar
initscripts-a75f5e8b1306296cc0bb6ec34c1e15857c261818.tar.gz
initscripts-a75f5e8b1306296cc0bb6ec34c1e15857c261818.tar.bz2
initscripts-a75f5e8b1306296cc0bb6ec34c1e15857c261818.tar.xz
initscripts-a75f5e8b1306296cc0bb6ec34c1e15857c261818.zip
1) changed version to 3.19r3-19
2) added NISDOMAIN support
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit5
1 files changed, 5 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 90dd043c..d42933e4 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -25,6 +25,11 @@ swapon -a
hostname ${HOSTNAME}
echo hostname: `hostname`
+# Set the NIS domain name
+if [ -n "$NISDOMAIN" ]; then
+ domainname $NISDOMAIN
+fi
+
if [ ! -f /fastboot ]; then
echo "Checking root filesystems."
fsck -V -a /