#!/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 "$@"