On 11/02/15 11:09, Neil Bothwick wrote:
> On Wed, 11 Feb 2015 10:38:27 +0000, thegeezer wrote:
>
>> the confusing bits are that gentoo can use hotplug detection from udev
>> to start/stop interfaces for you magically
>> also netplug/ifplug will detect carrier changes and start/stop magically
> ifplugd/netplug should not be configured to start interfaces. They just
> need to be installed so openrc can use them.
>
>
ah yeah quite right i should have been clearer re: netifrc start and
interface start
 --- they add "inactive" to the status when there is no connection so
the states go

/etc/init.d/net.blah start
stopped > inactive > started
and only trigger the netifrc start process when going  from inactive >
started
but they do stop from a netifrc perspective the interface when going
started > inactive
i.e. routes and IP addresses are added/removed, but the interface is
still up (but unplugged)

better to use hotplug imo but different use cases need different things

Reply via email to