Trigger action on link state change

Matthias Apitz guru at
Fri Jun 15 10:53:27 UTC 2012

El día Friday, June 15, 2012 a las 12:32:15PM +0200, Michael Ross escribió:

> Hi all,
> i was wondering if there is any ready-made method to trigger an action as  
> soon as a link changes state.
> Along the lines of
> 	onifdown_em0="/run/this/script"
> in rc.conf

Hi, check the man pages of devd(8) and devd.conf(5)



Matthias Apitz
e <guru at> - w
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5

More information about the freebsd-questions mailing list