amd (98184) | amd (98486) |
---|---|
1#!/bin/sh 2# 3# $NetBSD: amd,v 1.10 2002/04/29 12:08:17 lukem Exp $ | 1#!/bin/sh 2# 3# $NetBSD: amd,v 1.10 2002/04/29 12:08:17 lukem Exp $ |
4# $FreeBSD: head/etc/rc.d/amd 98184 2002-06-13 22:14:37Z gordon $ | 4# $FreeBSD: head/etc/rc.d/amd 98486 2002-06-20 08:49:44Z dougb $ |
5# 6 7# PROVIDE: amd 8# REQUIRE: rpcbind mountall ypbind nfsclient 9# BEFORE: DAEMON 10# KEYWORD: FreeBSD NetBSD 11 12. /etc/rc.subr --- 17 unchanged lines hidden (view full) --- 30 31amd_precmd() 32{ 33 case `${CMD_OSTYPE}` in 34 FreeBSD) 35 if ! checkyesno nfs_client_enable ; then 36 force_depend nfsclient || return 1 37 fi | 5# 6 7# PROVIDE: amd 8# REQUIRE: rpcbind mountall ypbind nfsclient 9# BEFORE: DAEMON 10# KEYWORD: FreeBSD NetBSD 11 12. /etc/rc.subr --- 17 unchanged lines hidden (view full) --- 30 31amd_precmd() 32{ 33 case `${CMD_OSTYPE}` in 34 FreeBSD) 35 if ! checkyesno nfs_client_enable ; then 36 force_depend nfsclient || return 1 37 fi |
38 if [ -z "`check_process rpcbind`" \ 39 -a ! `checkyesno portmap_enable` ]; then | 38 39 if ! checkyesno portmap_enable && \ 40 [ -z "`check_process ${portmap_program}`" ] 41 then |
40 force_depend rpcbind || return 1 41 fi 42 43 case ${amd_map_program} in 44 [Nn][Oo] | '') 45 ;; 46 *) 47 amd_flags="${amd_flags} `eval ${amd_map_program}`" --- 21 unchanged lines hidden --- | 42 force_depend rpcbind || return 1 43 fi 44 45 case ${amd_map_program} in 46 [Nn][Oo] | '') 47 ;; 48 *) 49 amd_flags="${amd_flags} `eval ${amd_map_program}`" --- 21 unchanged lines hidden --- |