busybox/examples/udhcp
Rolf Eike Beer 7180d9ed86 examples/udhcp/simple.script: fix resolv.conf update if it is a dangling symlink
If /etc/resolv.conf is a symlink to a tmpfs and the actual file does not
already exist, "readlink -f" will not detect it as symlink. Explicitely check
for that condition before and touch the file, making the other code work as
intended.

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2019-04-13 16:58:00 +02:00
..
sample.bound examples: make udhcpc script handle /32 netmasks 2017-04-06 00:53:43 +02:00
sample.deconfig added full udhcp integration 2002-10-14 21:41:28 +00:00
sample.nak added full udhcp integration 2002-10-14 21:41:28 +00:00
sample.renew examples: make udhcpc script handle /32 netmasks 2017-04-06 00:53:43 +02:00
sample.script chmod 755 some files in examples/* 2009-07-23 21:30:30 +02:00
simple.script examples/udhcp/simple.script: fix resolv.conf update if it is a dangling symlink 2019-04-13 16:58:00 +02:00
udhcpd.conf Update examples/udhcp/udhcpd.conf 2019-01-15 13:19:01 +01:00