Changeset View
Changeset View
Standalone View
Standalone View
etc/rc.d/amd
#!/bin/sh | #!/bin/sh | ||||
# | # | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
# PROVIDE: amd | # PROVIDE: amd | ||||
# REQUIRE: rpcbind ypset nfsclient FILESYSTEMS ldconfig | # REQUIRE: rpcbind ypset nfsclient FILESYSTEMS ldconfig | ||||
# BEFORE: DAEMON | # BEFORE: DAEMON | ||||
# KEYWORD: nojail shutdown | # KEYWORD: nojail shutdown | ||||
. /etc/rc.subr | . /etc/rc.subr | ||||
name="amd" | name="amd" | ||||
desc="Automatically mount filesystems" | |||||
rcvar="amd_enable" | rcvar="amd_enable" | ||||
command="/usr/sbin/${name}" | command="/usr/sbin/${name}" | ||||
start_precmd="amd_precmd" | start_precmd="amd_precmd" | ||||
command_args="&" | command_args="&" | ||||
extra_commands="reload" | extra_commands="reload" | ||||
amd_precmd() | amd_precmd() | ||||
{ | { | ||||
Show All 27 Lines |