View file File name : nis-domainname Content :#!/usr/bin/bash source /etc/sysconfig/network if [ -n "${NISDOMAIN}" ] && [ -x /usr/bin/nisdomainname ]; then nisdomainname ${NISDOMAIN} exit $? fi exit 0