Date: Fri, 15 Jun 2012 12:32:15 +0200 From: "Michael Ross" <gmx@ross.cx> To: "freebsd-questions@FreeBSD.org" <freebsd-questions@freebsd.org> Subject: Trigger action on link state change Message-ID: <op.wfxwv1a6g7njmm@michael-think>
next in thread | raw e-mail | index | archive | help
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 Background: Discussing physical data security with a client yesterday: The machine has to run 24/7. The filesystem is encrypted on boot, but this doesn't help a lot if anybody brings an AC generator to steal the machine *AND* the UPS. Best point in time to lock the machine I could think of was when somebody pulls the NIC cable. Regards, Michael
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wfxwv1a6g7njmm>