interface: add new "ifup-failed" hotplug event
authorMartin Schiller <ms@dev.tdt.de>
Fri, 31 Mar 2017 06:31:39 +0000 (08:31 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 9 May 2017 10:53:50 +0000 (12:53 +0200)
commit08d8f476b6aa0d701b20cda5f706db853ade1911
tree3e81cdc058403b81ca43edec2593f2163928e86a
parent20a1bac4810e98a463380e5d0f1f77c72ac31941
interface: add new "ifup-failed" hotplug event

This hook makes it possible to do some helper work in hotplug scripts
when a connection is not established successfully.

example: try several username/passwords from a pool to establish a
pppoe or wwan connection by replacing the configured values of the
connection in a hotplug script.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
interface-event.c
interface.c
interface.h