20 lines
447 B
Plaintext
20 lines
447 B
Plaintext
|
description "If configured, startup ypbind prozess"
|
||
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
||
|
version 1.0
|
||
|
emits none special
|
||
|
|
||
|
start on ( runlevel [2345] and (started rpc))
|
||
|
stop on stopping rpc
|
||
|
|
||
|
|
||
|
#exect daemon
|
||
|
#pid binary /usr/sbin/ypbind
|
||
|
console none
|
||
|
script
|
||
|
source /etc/init/functions
|
||
|
if [ -f /etc/sysconfig/nis/defaultdomain ]; then
|
||
|
domainname `cat /etc/sysconfig/nis/defaultdomain`
|
||
|
/usr/sbin/ypbind -debug
|
||
|
fi
|
||
|
end script
|