From 37109fdf9808ffc87cfff5604c8ca445ffdec64c Mon Sep 17 00:00:00 2001 From: "David Kaspar [Dee'Kej]" Date: Wed, 30 May 2018 17:01:59 +0200 Subject: fedora-* services renamed to more general names This removes the OS flavour embedded into the initscripts. See also: https://bugzilla.redhat.com/show_bug.cgi?id=1584645 Resolves: #161 --- usr/lib/systemd/nis-domainname | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 usr/lib/systemd/nis-domainname (limited to 'usr/lib/systemd/nis-domainname') 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 -- cgit v1.2.1