repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
usched: Fix the returned CPU affinity make by smp_active_mask.
[dragonfly.git]
/
etc
/
rc.d
/
automount
blob
7f43b45311256341c2a3c37fc63464b28172206f
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
6
# PROVIDE: automount
7
# REQUIRE: nfsclient automountd
8
# KEYWORD: nojail shutdown
9
10
.
/
etc
/
rc.subr
11
12
name
=
"automount"
13
rcvar
=
"autofs_enable"
14
start_cmd
=
"automount_start"
15
stop_cmd
=
"automount_stop"
16
required_modules
=
"autofs"
17
18
automount_start
()
19
{
20
21
/
usr
/
sbin
/
automount
${automount_flags}
22
}
23
24
automount_stop
()
25
{
26
27
/
sbin
/
umount
-At
autofs
28
}
29
30
load_rc_config
$name
31
run_rc_command
"
$1
"