projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
rc.d/wg: Match wg ifnames on wg_start
[dragonfly.git]
/
etc
/
rc.d
/
automount
1
#!/bin/sh
2
3
# PROVIDE: automount
4
# REQUIRE: automountd
5
# BEFORE: DAEMON
6
# KEYWORD: nojail shutdown
7
8
. /etc/rc.subr
9
10
name="automount"
11
rcvar="autofs_enable"
12
start_cmd="automount_start"
13
stop_cmd="automount_stop"
14
required_modules="autofs"
15
16
automount_start()
17
{
18
/usr/sbin/automount ${automount_flags}
19
}
20
21
automount_stop()
22
{
23
/sbin/umount -At autofs
24
}
25
26
load_rc_config $name
27
run_rc_command "$1"