Open holmanb opened 10 months ago
I'm thinking about removing the timeout option as it becomes meaningless when #271 happens.
@holmanb once #271 happens the --oneshot
option would be removed as well, but you used it in your example. Do you have a rationale for it?
@rsmarples Thanks for the reply and followup.
Using --oneshot
for synchronous dhcp address assignment to a single interface by other tools. For example initramfs-tools recently replaced their isc dependency with dhcpcd using --oneshot
. Do you have a proposal for how one might do this that works under current and future dhcpcd plans?
Ok, that's a good enough reason to keep it. I'll add that the fine man page.
Problem:
--timeout
isn't respected when no carrier has been acquiredI see:
I would expect the timeout ideally to be respected, or at the very least document this behavior.