[Toybox] [PATCH] Add ifplugd

Rob Landley rob at landley.net
Mon May 11 12:38:37 PDT 2020


On 5/10/20 1:34 PM, Eric Molitor wrote:
> A simple implementation of ifplugd that I'm using on a few personal projects.
> I've cleaned it up and attempted to mostly adhere to the toybox coding style.

Quick glance, it says to look at an example ifplugd.action script which isn't
included?

I note that I'm averse to commands that _need_ an external script to function.
When I finish cleaning up dhcp you should be able to "dhcp -i eth0" and have it
just _do_ it, for example. (An optional script it calls out to if detected, or
if told to do so on the command line, is one thing. "will not work at all
without it" is another.)

But then... I dunno what ifplugd is supposed to _do_ exactly? (Haven't used
it...) I had a todo item to teach mdev to respond to more hotplug events, and
ethernet transceiver toggle (and the wireless equivalent) was in there, but it's
a big todo heap of "haven't made a wpasupplicant yet, but I did go to the talk
from the guy who was writing a new replacement thingy for all that
infrastructure"...

Rob



More information about the Toybox mailing list