mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
Merge pull request #20411 from OlegHahm/pr/tapsetup_dhclient_nowait
dist: tools: avoid hanging tapsetup in the absence of a DHCP server
This commit is contained in:
commit
c5d23ba5fb
2
dist/tools/tapsetup/tapsetup
vendored
2
dist/tools/tapsetup/tapsetup
vendored
@ -63,7 +63,7 @@ unsupported_platform() {
|
||||
|
||||
update_uplink() {
|
||||
if command -v dhclient > /dev/null; then
|
||||
dhclient $1
|
||||
dhclient -nw $1
|
||||
else
|
||||
echo "DHCP client \`dhclient\` not found." >&2
|
||||
echo "Please reconfigure your DHCP client for interface $1" >&2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user