aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.d/ypbind
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2018-07-28 20:36:23 +0000
committerBrad Davis <brd@FreeBSD.org>2018-07-28 20:36:23 +0000
commit1135e97b7c2c3b60fda9a6f2f4a24a8336b1024c (patch)
tree0e0dbb798c6f8b921cdb45e02fa5baa6a6fe05d7 /etc/rc.d/ypbind
parentc59a544e09735f4c425b2cc5afb1b7154bd4f240 (diff)
Notes
Diffstat (limited to 'etc/rc.d/ypbind')
-rwxr-xr-xetc/rc.d/ypbind37
1 files changed, 0 insertions, 37 deletions
diff --git a/etc/rc.d/ypbind b/etc/rc.d/ypbind
deleted file mode 100755
index 86a2fe3ced00..000000000000
--- a/etc/rc.d/ypbind
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: ypbind
-# REQUIRE: ypserv
-# BEFORE: DAEMON
-# KEYWORD: shutdown
-
-. /etc/rc.subr
-
-name="ypbind"
-desc="NIS domain binding daemon"
-rcvar="nis_client_enable"
-
-load_rc_config $name
-
-command="/usr/sbin/${name}"
-command_args="${nis_client_flags}"
-
-start_precmd="ypbind_precmd"
-
-ypbind_precmd()
-{
- local _domain
-
- force_depend rpcbind || return 1
-
- _domain=`domainname`
- if [ -z "$_domain" ]; then
- warn "NIS domainname(1) is not set."
- return 1
- fi
-}
-
-run_rc_command "$1"