5eaf7c
[Unit]
5eaf7c
Description=Read and set NIS domainname from /etc/sysconfig/network
5eaf7c
Before=ypbind.service yppasswdd.service ypserv.service ypxfrd.service sysinit.target
5eaf7c
DefaultDependencies=no
5eaf7c
Conflicts=shutdown.target
5eaf7c
ConditionPathExists=/etc/sysconfig/network
5eaf7c
5eaf7c
[Service]
5eaf7c
ExecStart=/usr/libexec/hostname/nis-domainname
5eaf7c
Type=oneshot
5eaf7c
RemainAfterExit=yes
5eaf7c
5eaf7c
[Install]
5eaf7c
WantedBy=sysinit.target