87e216294a
Currently, running "udhcpc -n -b" causes udhcpc to go to background and then exit after some time unless a lease is obtained. It's not very useful to do so as the calling process doesn't know if the lease was obtained or not anyway. The code actually tries to favor "-b" over "-n", but doesn't clear "-n" flag while clearing "-b" after backgrounding. So, clear "-n" flag after going into background. This effectively makes "-b" override "-n" completely and "-n -b" behave the same as "-b". This allows to override default "-n" option, passed to udhcpc by ifupdown, without recompiling busybox. URL: https://bugs.busybox.net/11691 Signed-off-by: Andrey Mazo <ahippo@yandex.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> |
||
---|---|---|
.. | ||
libiproute | ||
ssl_helper | ||
ssl_helper-wolfssl | ||
udhcp | ||
arp.c | ||
arping.c | ||
brctl.c | ||
Config.src | ||
dnsd.c | ||
ether-wake.c | ||
ftpd.c | ||
ftpgetput.c | ||
hostname.c | ||
httpd_helpers.sh | ||
httpd_indexcgi.c | ||
httpd_post_upload.cgi | ||
httpd_ssi.c | ||
httpd.c | ||
ifconfig.c | ||
ifenslave.c | ||
ifplugd.c | ||
ifupdown.c | ||
inetd.c | ||
interface.c | ||
ip.c | ||
ipcalc.c | ||
isrv_identd.c | ||
isrv.c | ||
isrv.h | ||
Kbuild.src | ||
nameif.c | ||
nbd-client.c | ||
nc_bloaty.c | ||
nc.c | ||
netstat.c | ||
nslookup.c | ||
ntpd.c | ||
ntpd.diff | ||
parse_pasv_epsv.c | ||
ping.c | ||
pscan.c | ||
route.c | ||
slattach.c | ||
ssl_client.c | ||
tc.c | ||
tcpudp_perhost.c | ||
tcpudp_perhost.h | ||
tcpudp.c | ||
telnet.c | ||
telnetd.c | ||
telnetd.ctrlSQ.patch | ||
telnetd.IAC_test.sh | ||
tftp.c | ||
tls_aes.c | ||
tls_aes.h | ||
tls_aesgcm.c | ||
tls_aesgcm.h | ||
tls_fe.c | ||
tls_fe.h | ||
tls_pstm_montgomery_reduce.c | ||
tls_pstm_mul_comba.c | ||
tls_pstm_sqr_comba.c | ||
tls_pstm.c | ||
tls_pstm.h | ||
tls_rsa.c | ||
tls_rsa.h | ||
tls_symmetric.h | ||
tls.c | ||
tls.h | ||
traceroute.c | ||
tunctl.c | ||
vconfig.c | ||
wget.c | ||
whois.c | ||
zcip.c |