summaryrefslogtreecommitdiffstats
path: root/abs/extra/autofs/finish
blob: 40d2fdc6d5f4b7740cd29236ba8f544288803060 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
exec 2>&1

. /etc/rc.conf
. /etc/rc.d/functions

stat_runit "Stopping autofs4 kernel module" && echo ""
set -e  # barf if modprobe fails
/sbin/modprobe -r autofs4