aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--initscripts.spec6
-rwxr-xr-xrc.d/rc.sysinit5
2 files changed, 10 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 088695be..5e2b12d4 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -1,6 +1,6 @@
Summary: inittab and /etc/rc.d scripts
Name: initscripts
-%define version 3.18
+%define version 3.19
Version: %{version}
Copyright: GPL
Group: Base
@@ -17,6 +17,10 @@ that activate and deactivate most network interfaces.
%changelog
+* Wed Oct 15 1997 Erik Troan <ewt@redhat.com>
+
+- run domainname if NISDOMAIN is set
+
* Wed Oct 15 1997 Michael K. Johnson <johnsonm@redhat.com>
- Make the random seed file mode 600.
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 /