mountd (98184) | mountd (98486) |
---|---|
1#!/bin/sh 2# 3# $NetBSD: mountd,v 1.11 2002/01/31 01:26:06 lukem Exp $ | 1#!/bin/sh 2# 3# $NetBSD: mountd,v 1.11 2002/01/31 01:26:06 lukem Exp $ |
4# $FreeBSD: head/etc/rc.d/mountd 98184 2002-06-13 22:14:37Z gordon $ | 4# $FreeBSD: head/etc/rc.d/mountd 98486 2002-06-20 08:49:44Z dougb $ |
5# 6 7# PROVIDE: mountd 8# REQUIRE: NETWORKING mountall beforemountlkm nfsserver rpcbind quota 9# KEYWORD: FreeBSD NetBSD 10 11. /etc/rc.subr 12 --- 15 unchanged lines hidden (view full) --- 28 29mountd_precmd() 30{ 31 case `${CMD_OSTYPE}` in 32 FreeBSD) 33 if ! sysctl vfs.nfsrv >/dev/null 2>&1; then 34 force_depend nfsserver || return 1 35 fi | 5# 6 7# PROVIDE: mountd 8# REQUIRE: NETWORKING mountall beforemountlkm nfsserver rpcbind quota 9# KEYWORD: FreeBSD NetBSD 10 11. /etc/rc.subr 12 --- 15 unchanged lines hidden (view full) --- 28 29mountd_precmd() 30{ 31 case `${CMD_OSTYPE}` in 32 FreeBSD) 33 if ! sysctl vfs.nfsrv >/dev/null 2>&1; then 34 force_depend nfsserver || return 1 35 fi |
36 if [ -z "`check_process rpcbind`" -a ! `checkyesno portmap_enable` ]; then | 36 37 if ! checkyesno portmap_enable && \ 38 [ -z "`check_process ${portmap_program}`" ] 39 then |
37 force_depend rpcbind || return 1 38 fi 39 40 # mountd flags will differ depending on rc.conf settings 41 # 42 case ${nfs_server_enable} in 43 [Yy][Ee][Ss]) 44 if checkyesno weak_mountd_authentication ; then --- 17 unchanged lines hidden --- | 40 force_depend rpcbind || return 1 41 fi 42 43 # mountd flags will differ depending on rc.conf settings 44 # 45 case ${nfs_server_enable} in 46 [Yy][Ee][Ss]) 47 if checkyesno weak_mountd_authentication ; then --- 17 unchanged lines hidden --- |