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