summaryrefslogtreecommitdiff
path: root/etc/rc.d/ypbind
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/ypbind')
-rw-r--r--etc/rc.d/ypbind6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/rc.d/ypbind b/etc/rc.d/ypbind
index 167efcd6224..32bc81baff9 100644
--- a/etc/rc.d/ypbind
+++ b/etc/rc.d/ypbind
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: ypbind,v 1.4 2011/10/07 05:54:48 ajacoutot Exp $
+# $OpenBSD: ypbind,v 1.5 2015/10/18 03:51:11 deraadt Exp $
daemon="/usr/sbin/ypbind"
@@ -13,4 +13,8 @@ rc_pre() {
[ X"`domainname`" != X"" ]
}
+rc_post() {
+ rm -f /var/run/ypbind.lock
+}
+
rc_cmd $1