From a145ddda284570e57413e37f025c3657205e17d8 Mon Sep 17 00:00:00 2001 From: "David Kaspar [Dee'Kej]" Date: Fri, 25 May 2018 20:01:54 +0200 Subject: Repository scheme updated to new layout NOTE: This commit just moves files around, without actually fixing the Makefiles and specfile. See follow up commits which resolve this. --- usr/lib/systemd/fedora-domainname | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 usr/lib/systemd/fedora-domainname (limited to 'usr/lib/systemd/fedora-domainname') diff --git a/usr/lib/systemd/fedora-domainname b/usr/lib/systemd/fedora-domainname new file mode 100755 index 00000000..5c934584 --- /dev/null +++ b/usr/lib/systemd/fedora-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