On Feb 19, Jose Carlos Garcia Sogo <[EMAIL PROTECTED]> wrote:

>   Related to this bug, I would ask you what is current udev status, and
> how do you think this should be managed in ifplugd. What ifplugd needs
> is a reliable way to know when an interface has been added. This will be
I would do it this way, but of course some variations are possible.
Install a rule file like this, and the appropriate symlink:

SUBSYSTEM=="net", RUN+="/etc/init.d/ifplugd udev"

Then implement in the init script an udev parameter which checks $ACTION
("add" or "remove") and $INTERFACE (the interface name).
Add there the check for $HOTPLUG_INTERFACES too.

The call to ifrename needs to go because interfaces renaming must be
handled by udev or the events will be delivered for the old name.

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature

Reply via email to