mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
If a user don't have FreeBSD-autofs installed there is no need to try calling automount on every GEOM event. It's also easier to add/delete autofs related event in a separate file. Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D42495 Reviewed by: imp (cherry picked from commit b3c116d50ecacaab5236e0488cb74c1bcf614ae7)
9 lines
196 B
Text
9 lines
196 B
Text
#
|
|
# autofs(5) specific devd events
|
|
|
|
# Discard autofs caches, useful for the -media special map.
|
|
notify 100 {
|
|
match "system" "GEOM";
|
|
match "subsystem" "DEV";
|
|
action "/usr/sbin/automount -c";
|
|
};
|