From f314791fa2fa3e6a557ca50ecb4a0cf7798fee79 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 10:05:16 +0200 Subject: Adding live-helper 1.0~a20-1. --- helpers/lh_chroot_resolv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'helpers/lh_chroot_resolv') diff --git a/helpers/lh_chroot_resolv b/helpers/lh_chroot_resolv index 25051724a..04090546a 100755 --- a/helpers/lh_chroot_resolv +++ b/helpers/lh_chroot_resolv @@ -75,11 +75,11 @@ case "${1}" in if [ -f chroot/etc/resolv.conf.orig ] then - # Restore resolv file + # Restoring resolv file mv chroot/etc/resolv.conf.orig chroot/etc/resolv.conf else - # Remove resolv file - rm -f chroot/etc/resolv.conf + # Truncating resolv file + cat < /dev/null > chroot/etc/resolv.conf fi # Removing stage file -- cgit v1.2.3