From 35b57c1a91b745240d90149376d51a50412c3069 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sun, 4 Nov 2007 11:14:25 +0100 Subject: [PATCH] Use $target/etc/resolvconf/run/resolv.conf --- etc/grml/fai/config/hooks/instsoft.GRMLBASE | 2 +- etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.1.4