diff options
-rw-r--r-- | initscripts.spec | 6 | ||||
-rwxr-xr-x | rc.d/rc.sysinit | 5 |
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 / |