FS#540 - rc.sysinit does not set nisdomain name
Attached to Project:
Arch Linux
Opened by Roberto Braga (Bobonov) - Sunday, 14 March 2004, 21:09 GMT
Last edited by dorphell (dorphell) - Sunday, 14 March 2004, 21:41 GMT
Opened by Roberto Braga (Bobonov) - Sunday, 14 March 2004, 21:09 GMT
Last edited by dorphell (dorphell) - Sunday, 14 March 2004, 21:41 GMT
|
Details
Actually rc.sysinit doea not set nisdomainname, I wrote 3
line to add to the script in order to set it.
Is a diff result so it can be used with patch 104a105,107 > if [ -f /bin/nisdomainname ]; then > status "Setting NIS Domain Name: $HOSTNAME" /bin/nisdomainname $HOSTNAME > fi |
This task depends upon
There are several ways to set NISDOMAINNAME variable, the most simple one is by rc.conf.
Another way (and the best one) is to obtain it from the /etc/yp.conf