From: Michael Prokop Date: Sun, 27 Nov 2011 01:24:37 +0000 (+0100) Subject: rework resolvconf handling X-Git-Tag: v0.17.0~37 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=d338d0cc0f1a78f85e40e2fdf91476b780fa13ff;hp=d338d0cc0f1a78f85e40e2fdf91476b780fa13ff;p=grml-live.git rework resolvconf handling When building host with resolvconf and /run: | # ls -la /etc/resolv.conf | lrwxrwxrwx 1 root root 31 Sep 10 13:15 /etc/resolv.conf -> /etc/resolvconf/run/resolv.conf | # readlink -f /etc/resolvconf/run/resolv.conf | /run/resolvconf/resolv.conf ... then test -L and test -d will result both in the same result for testing /etc/resolvconf/run. So instead let's try to identify the type using readlink. ---