diff options
author | Denys Vlasenko | 2022-04-30 14:33:14 +0200 |
---|---|---|
committer | Denys Vlasenko | 2022-04-30 14:33:14 +0200 |
commit | 002d6ee46d7a188aff9530cf21363b4cf7795dc4 (patch) | |
tree | 3aae1cbf4f1d3a2522e040ecc5f8540ebf7d961d /util-linux | |
parent | 8456c21c09189da8eadb78ef5cc7fdb9825fbc13 (diff) | |
download | busybox-002d6ee46d7a188aff9530cf21363b4cf7795dc4.zip busybox-002d6ee46d7a188aff9530cf21363b4cf7795dc4.tar.gz |
ifplugd: split -a into -a and -A, latter disables upping in iface creation
-a meant both "don't up iface before each link detection" and "don't up iface
when it newly appears". But they are not the same.
I have a dock station where eth1 appears when I attach the notebook to it
(looks like it's hanging off a USB bus). IOW: appearance of this interface
is functionally equivalent to attaching ethernet cable.
ifplugd meant to be able to *automatically* handle this case.
Currently, with -a, it couldn't: newly appearing iface stayed down,
user had to manually up it.
function old new delta
packed_usage 34253 34296 +43
.rodata 104876 104877 +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 44/0) Total: 44 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
0 files changed, 0 insertions, 0 deletions