mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-02 11:06:44 +00:00
9 lines
207 B
Plaintext
9 lines
207 B
Plaintext
|
#!/gns3/bin/busybox sh
|
||
|
|
||
|
SCRIPT="/gns3/etc/udhcpc/default.script"
|
||
|
EXTRA=""
|
||
|
|
||
|
[ "$(cat "/proc/$PPID/comm" 2>/dev/null)" = ifup ] && EXTRA="-t 3 -T 2 -A 1 -b"
|
||
|
|
||
|
exec /tmp/gns3/bin/udhcpc -s "$SCRIPT" $EXTRA "$@"
|