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