Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2012 12:53:22 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Trigger action on link state change
Message-ID:  <20120615105321.GA1904@tiny.Sisis.de>
In-Reply-To: <op.wfxwv1a6g7njmm@michael-think>
References:  <op.wfxwv1a6g7njmm@michael-think>

next in thread | previous in thread | raw e-mail | index | archive | help
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)

HIH

	matthias

-- 
Matthias Apitz
e <guru@unixarea.de> - w http://www.unixarea.de/
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120615105321.GA1904>