udhcpc: support resolv.conf symlinks
authorMike Frysinger <vapier@gentoo.org>
Wed, 27 Feb 2013 06:01:43 +0000 (01:01 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 27 Feb 2013 06:01:43 +0000 (01:01 -0500)
commit39b8fb41c50e6ee0aaca81cde2a4dec98d45ef9a
tree44f4d1a9b44bbaf98e28e94d8c20c784e5882f63
parent40b97fb31ec7c24db706b47182f400f2a13dbbfc
udhcpc: support resolv.conf symlinks

Often it is desirable to have /etc/ be on read-only storage (well, the
whole rootfs) but have things like /etc/resolv.conf be symlinks to a
writable location.  Tweak the simple script to support that.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
examples/udhcp/simple.script