#!/bin/sh
#
# $OpenBSD: ypbind,v 1.5 2015/10/18 03:51:11 deraadt 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
