aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-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 /