From 1c144ba1db1d6c5cf2229d63ca68f62125653536 Mon Sep 17 00:00:00 2001 From: Nova Date: Sun, 12 Sep 2021 01:23:37 +0000 Subject: [PATCH] Post hoc, ergo propter hoc. --- ChangeLog | 4 ++++ setnet-udhcpc | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 48834ff..9bd512b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2021-09-11 Nova + * setnet-udhcpc: added an extra switch to the udhcpc command + * repository: due to some weird incident I caused myself all files got mode 0755, changed back to 0644 except for the executables. + 2021-09-01 Nova * 0.5.1 now has support for other DHCP clients * Available ones are dhclient (default) , dhcpc , dhcpcd and udhcpc diff --git a/setnet-udhcpc b/setnet-udhcpc index 19c454b..f33f503 100755 --- a/setnet-udhcpc +++ b/setnet-udhcpc @@ -505,8 +505,8 @@ config_ip_static() { config_ip_dhcp() { DEVNAME=$1 - udhcpc -i ${DEVNAME} 2>&1 | - eval "${DIALOG} --title 'Running udhcpc ${DEVNAME}' \ + udhcpc -n -i ${DEVNAME} 2>&1 | + eval "${DIALOG} --title 'Running udhcpc -n -i ${DEVNAME}' \ --programbox ${WINDOW_HEIGHT} ${WINDOW_WIDTH}" 2>${TMPFILE} if [ $! -ne 0 ];then