mountd (98486) | mountd (98585) |
---|---|
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 98486 2002-06-20 08:49:44Z dougb $ | 4# $FreeBSD: head/etc/rc.d/mountd 98585 2002-06-21 19:50:01Z dougb $ |
5# 6 7# PROVIDE: mountd 8# REQUIRE: NETWORKING mountall beforemountlkm nfsserver rpcbind quota 9# KEYWORD: FreeBSD NetBSD 10 11. /etc/rc.subr 12 --- 17 unchanged lines hidden (view full) --- 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 37 if ! checkyesno portmap_enable && \ | 5# 6 7# PROVIDE: mountd 8# REQUIRE: NETWORKING mountall beforemountlkm nfsserver rpcbind quota 9# KEYWORD: FreeBSD NetBSD 10 11. /etc/rc.subr 12 --- 17 unchanged lines hidden (view full) --- 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 37 if ! checkyesno portmap_enable && \ |
38 [ -z "`check_process ${portmap_program}`" ] | 38 ! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1 |
39 then 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]) --- 18 unchanged lines hidden --- | 39 then 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]) --- 18 unchanged lines hidden --- |