Use $target/etc/resolvconf/run/resolv.conf
[grml-live.git] / etc / grml / fai / config / hooks / instsoft.GRMLBASE
index 003e16a..63ae67d 100755 (executable)
@@ -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