From 8ef813d63b653caf7e4e81b62686b1f9baac7761 Mon Sep 17 00:00:00 2001 From: ajacoutot <> Date: Sat, 26 Jan 2013 08:00:11 +0000 Subject: [PATCH] Do not allow stopping/restarting mountd using the rc.d(8) framework; if there is need to send a SIGTERM to mountd(8), it should be done manually as there is too much involved with RPC daemons to make it automagic. ok beck@ --- src/etc/rc.d/mountd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/etc/rc.d/mountd b/src/etc/rc.d/mountd index e9dd3e61..3d3c020f 100644 --- a/src/etc/rc.d/mountd +++ b/src/etc/rc.d/mountd @@ -1,11 +1,13 @@ #!/bin/sh # -# $OpenBSD: mountd,v 1.3 2012/08/14 07:43:57 ajacoutot Exp $ +# $OpenBSD: mountd,v 1.4 2013/01/26 08:00:11 ajacoutot Exp $ daemon="/sbin/mountd" . /etc/rc.d/rc.subr +rc_stop=NO + rc_pre() { [ -s /etc/exports ] && grep -qv '^#' /etc/exports && \ rm -f /var/db/mountdtab && \