usched: Fix the returned CPU affinity make by smp_active_mask.
[dragonfly.git] / etc / rc.d / automount
blob7f43b45311256341c2a3c37fc63464b28172206f
1 #!/bin/sh
3 # $FreeBSD$
6 # PROVIDE: automount
7 # REQUIRE: nfsclient automountd
8 # KEYWORD: nojail shutdown
10 . /etc/rc.subr
12 name="automount"
13 rcvar="autofs_enable"
14 start_cmd="automount_start"
15 stop_cmd="automount_stop"
16 required_modules="autofs"
18 automount_start()
21 /usr/sbin/automount ${automount_flags}
24 automount_stop()
27 /sbin/umount -At autofs
30 load_rc_config $name
31 run_rc_command "$1"