1#!/bin/sh 2#
| 1#!/bin/sh 2#
|
3# $FreeBSD: head/etc/rc.d/amd 193197 2009-06-01 04:55:13Z dougb $
| 3# $FreeBSD: head/etc/rc.d/amd 230099 2012-01-14 02:18:41Z dougb $
|
4# 5 6# PROVIDE: amd 7# REQUIRE: rpcbind ypset nfsclient cleanvar ldconfig 8# BEFORE: DAEMON 9# KEYWORD: nojail shutdown 10 11. /etc/rc.subr 12 13name="amd"
| 4# 5 6# PROVIDE: amd 7# REQUIRE: rpcbind ypset nfsclient cleanvar ldconfig 8# BEFORE: DAEMON 9# KEYWORD: nojail shutdown 10 11. /etc/rc.subr 12 13name="amd"
|
14rcvar=`set_rcvar`
| 14rcvar="amd_enable"
|
15command="/usr/sbin/${name}" 16start_precmd="amd_precmd" 17command_args="&" 18extra_commands="reload" 19 20amd_precmd() 21{ 22 if ! checkyesno nfs_client_enable; then
--- 34 unchanged lines hidden --- | 15command="/usr/sbin/${name}" 16start_precmd="amd_precmd" 17command_args="&" 18extra_commands="reload" 19 20amd_precmd() 21{ 22 if ! checkyesno nfs_client_enable; then
--- 34 unchanged lines hidden --- |