0b45b9
#!/usr/bin/bash
0b45b9
0b45b9
source /etc/sysconfig/network
0b45b9
0b45b9
if [ -n "${NISDOMAIN}" ] && [ -x /usr/bin/nisdomainname ]; then
0b45b9
    nisdomainname ${NISDOMAIN}
0b45b9
    exit $?
0b45b9
fi
0b45b9
0b45b9
exit 0