aboutsummaryrefslogtreecommitdiffstats
path: root/usr/lib
diff options
context:
space:
mode:
Diffstat (limited to 'usr/lib')
-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