aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts/build-umlrootfs
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-03-15 15:00:51 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-03-15 15:00:51 +0000
commit4ebaa476f1035e467ae05b2e628173e0efda2c88 (patch)
tree00fee30b84672fe154953a8bd966b74af0ae22ae /testing/scripts/build-umlrootfs
parent34bbd0c32e77e491300fa3f0d055fac20d6088ce (diff)
downloadstrongswan-4ebaa476f1035e467ae05b2e628173e0efda2c88.tar.bz2
strongswan-4ebaa476f1035e467ae05b2e628173e0efda2c88.tar.xz
remove /etc/resolv.conf
Diffstat (limited to 'testing/scripts/build-umlrootfs')
-rwxr-xr-xtesting/scripts/build-umlrootfs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/scripts/build-umlrootfs b/testing/scripts/build-umlrootfs
index 5c35185d9..5db8a8de0 100755
--- a/testing/scripts/build-umlrootfs
+++ b/testing/scripts/build-umlrootfs
@@ -90,6 +90,12 @@ tar xjpf $ROOTFS -C $LOOPDIR >> $LOGFILE 2>&1
cecho "done"
######################################################
+# remove /etc/resolv.conf
+#
+cecho " * Removing /etc/resolv.conf"
+rm -f $LOOPDIR/etc/resolv.conf
+
+######################################################
# copying default /etc/hosts to the root filesystem
#
cecho " * Copying '$HOSTCONFIGDIR/default/etc/hosts' to the root filesystem"