#!/bin/sh
#
# $OpenBSD: ypbind,v 1.7 2017/05/27 19:55:48 ajacoutot Exp $

daemon="/usr/sbin/ypbind"

. /etc/rc.d/rc.subr

rc_bg=YES
rc_reload=NO

rc_pre() {
	[ X"`domainname`" != X"" ]
}

rc_post() {
	rm -f /var/run/ypbind.lock
}

rc_cmd $1
