Changeset View
Changeset View
Standalone View
Standalone View
etc/rc.d/nisdomain
Show All 27 Lines | |||||
# PROVIDE: nisdomain | # PROVIDE: nisdomain | ||||
# REQUIRE: SERVERS rpcbind | # REQUIRE: SERVERS rpcbind | ||||
# BEFORE: ypset ypbind ypserv ypxfrd | # BEFORE: ypset ypbind ypserv ypxfrd | ||||
. /etc/rc.subr | . /etc/rc.subr | ||||
name="nisdomain" | name="nisdomain" | ||||
desc="Set NIS domain name" | |||||
start_cmd="nisdomain_start" | start_cmd="nisdomain_start" | ||||
stop_cmd=":" | stop_cmd=":" | ||||
nisdomain_start() | nisdomain_start() | ||||
{ | { | ||||
# Set the domainname if we're using NIS | # Set the domainname if we're using NIS | ||||
# | # | ||||
case ${nisdomainname} in | case ${nisdomainname} in | ||||
Show All 11 Lines |