From 5da6236d0167eab4e233aaf815198eb7d1fe5898 Mon Sep 17 00:00:00 2001 From: mtm Date: Sat, 17 Jan 2004 10:59:43 +0000 Subject: Luke Mewburn has indicated that they (NetBSD) are not interested in keeping the scripts under rc.d in sync with us. So, remove NetBSD specific stuff (which made our scripts more complicated than necessary). The NetBSD ident string will be left intact, both for history and also incase we wish to pull in future versions. --- etc/rc.d/statd | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'etc/rc.d/statd') diff --git a/etc/rc.d/statd b/etc/rc.d/statd index 036fd68..6492849 100644 --- a/etc/rc.d/statd +++ b/etc/rc.d/statd @@ -13,20 +13,10 @@ arg=$1 -case ${OSTYPE} in -FreeBSD) - RCVAR_SERVER="nfs_server_enable" - RCVAR_CLIENT="nfs_client_enable" - RCVAR_STATD="rpc_statd_enable" - RCVAR_LOCKD="rpc_lockd_enable" - ;; -NetBSD) - RCVAR_SERVER="nfs_server" - RCVAR_CLIENT="nfs_client" - RCVAR_STATD="statd" - RCVAR_LOCKD="lockd" - ;; -esac +RCVAR_SERVER="nfs_server_enable" +RCVAR_CLIENT="nfs_client_enable" +RCVAR_STATD="rpc_statd_enable" +RCVAR_LOCKD="rpc_lockd_enable" start_precmd='checkyesno ${RCVAR_SERVER} || checkyesno ${RCVAR_CLIENT} || [ -n "$rc_force" ]' -- cgit v1.1