diff options
Diffstat (limited to 'usr/lib/systemd/nis-domainname')
-rwxr-xr-x | usr/lib/systemd/nis-domainname | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/usr/lib/systemd/nis-domainname b/usr/lib/systemd/nis-domainname new file mode 100755 index 00000000..5c934584 --- /dev/null +++ b/usr/lib/systemd/nis-domainname @@ -0,0 +1,9 @@ +#!/usr/bin/bash +. /etc/sysconfig/network + +if [ -n "${NISDOMAIN}" ] && [ -x /usr/bin/domainname ]; then + domainname ${NISDOMAIN} + exit $? +fi + +exit 0 |