Warning!

Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!

Another resolv.conf update
authorMichael Prokop
Sun Dec 16 17:25:40 2007 +0100 (11 months ago)
changeset 3908d4f0e83b345
manifest8d4f0e83b345
parent 389e964de023a2d
child 391a18b7319c2fc
Another resolv.conf update
etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs
--- a/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs Sun Dec 16 16:43:01 2007 +0100
+++ b/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs Sun Dec 16 17:25:40 2007 +0100
@@ -4,7 +4,7 @@
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2 or any later version.
-# Latest change: Sun Dec 16 16:42:37 CET 2007 [mika]
+# Latest change: Sun Dec 16 17:18:14 CET 2007 [mika]
################################################################################
set -e
@@ -35,9 +35,9 @@ if ifclass RELEASE ; then
if [ -r /etc/resolv.conf ] ; then
if [ -d $target/etc/resolvconf/run ] ; then
- cat /etc/resolv.conf > $target/etc/resolvconf/run/resolv.conf
- else
- cat /etc/resolv.conf > $target/etc/resolv.conf
+ cat /etc/resolv.conf >> $target/etc/resolvconf/run/resolv.conf
+ elif [ ! -L $target/etc/resolv.conf ] ; then
+ cat /etc/resolv.conf >> $target/etc/resolv.conf
fi
fi