rework resolvconf handling
authorMichael Prokop <mika@grml.org>
Sun, 27 Nov 2011 01:24:37 +0000 (02:24 +0100)
committerMichael Prokop <mika@grml.org>
Sun, 27 Nov 2011 01:25:58 +0000 (02:25 +0100)
commitd338d0cc0f1a78f85e40e2fdf91476b780fa13ff
tree9674f21faf25f15da09ef0b7cf9445bcf3e3b061
parent7d3ca651729de1f6e236e98653b6a1312017e072
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.
etc/grml/fai/config/hooks/instsoft.GRMLBASE
etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs