From: Michael Prokop Date: Sun, 4 Nov 2007 10:14:25 +0000 (+0100) Subject: Use $target/etc/resolvconf/run/resolv.conf X-Git-Tag: 0.0.8~27 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=35b57c1a91b745240d90149376d51a50412c3069 Use $target/etc/resolvconf/run/resolv.conf --- diff --git a/etc/grml/fai/config/hooks/instsoft.GRMLBASE b/etc/grml/fai/config/hooks/instsoft.GRMLBASE index 003e16a..63ae67d 100755 --- a/etc/grml/fai/config/hooks/instsoft.GRMLBASE +++ b/etc/grml/fai/config/hooks/instsoft.GRMLBASE @@ -17,7 +17,7 @@ if [ "$FAI_ACTION" = "softupdate" ] ; then echo "Softupdate of FAI via grml-live running" if [ -r /etc/resolv.conf ] ; then - if [ -r /etc/resolvconf/run/resolv.conf ] ; then + if [ -r $target/etc/resolvconf/run/resolv.conf ] ; then cat /etc/resolv.conf >> $target/etc/resolvconf/run/resolv.conf else cat /etc/resolv.conf >> $target/etc/resolv.conf diff --git a/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs b/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs index 01dbfd2..5143318 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs +++ b/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs @@ -16,7 +16,7 @@ if ifclass RELEASE ; then [ -n "$HOSTNAME" ] || HOSTNAME=grml if [ -r /etc/resolv.conf ] ; then - if [ -r /etc/resolvconf/run/resolv.conf ] ; then + if [ -r $target/etc/resolvconf/run/resolv.conf ] ; then cat /etc/resolv.conf >> $target/etc/resolvconf/run/resolv.conf else cat /etc/resolv.conf >> $target/etc/resolv.conf