aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2018-05-31 12:08:05 +0200
committerDee'Kej <deekej@linuxmail.org>2018-06-01 14:51:29 +0200
commit1a436be4b16b6eed3f29b192ace8435daaf041f6 (patch)
treea3bd5a0a56718eda1508795ccd895249050a7a28 /usr
parent37109fdf9808ffc87cfff5604c8ca445ffdec64c (diff)
downloadinitscripts-1a436be4b16b6eed3f29b192ace8435daaf041f6.tar
initscripts-1a436be4b16b6eed3f29b192ace8435daaf041f6.tar.gz
initscripts-1a436be4b16b6eed3f29b192ace8435daaf041f6.tar.bz2
initscripts-1a436be4b16b6eed3f29b192ace8435daaf041f6.tar.xz
initscripts-1a436be4b16b6eed3f29b192ace8435daaf041f6.zip
nis-domainname.service removed
It has been moved into the hostname package: https://src.fedoraproject.org/rpms/hostname/pull-request/1
Diffstat (limited to 'usr')
-rwxr-xr-xusr/lib/systemd/nis-domainname9
-rw-r--r--usr/lib/systemd/system/nis-domainname.service13
2 files changed, 0 insertions, 22 deletions
diff --git a/usr/lib/systemd/nis-domainname b/usr/lib/systemd/nis-domainname
deleted file mode 100755
index 5c934584..00000000
--- a/usr/lib/systemd/nis-domainname
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/bash
-. /etc/sysconfig/network
-
-if [ -n "${NISDOMAIN}" ] && [ -x /usr/bin/domainname ]; then
- domainname ${NISDOMAIN}
- exit $?
-fi
-
-exit 0
diff --git a/usr/lib/systemd/system/nis-domainname.service b/usr/lib/systemd/system/nis-domainname.service
deleted file mode 100644
index 3f8412ae..00000000
--- a/usr/lib/systemd/system/nis-domainname.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Read and set NIS domainname from /etc/sysconfig/network
-Before=ypbind.service yppasswdd.service ypserv.service ypxfrd.service sysinit.target
-DefaultDependencies=no
-Conflicts=shutdown.target
-
-[Service]
-ExecStart=/usr/lib/systemd/nis-domainname
-Type=oneshot
-RemainAfterExit=yes
-
-[Install]
-WantedBy=sysinit.target