aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/fedora-domainname
blob: 17f8ea8ce37954e19a747ed09d391112ed65a41f (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/bash
. /etc/sysconfig/network

if [ -n "${NISDOMAIN}" -a -x /usr/bin/domainname ]; then
        domainname ${NISDOMAIN}
        exit $?
fi

exit 0