diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:16 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:26 +0100 |
commit | f314791fa2fa3e6a557ca50ecb4a0cf7798fee79 (patch) | |
tree | 1289402c2df38afa3f1f70c7e40fe4f35835d670 /helpers/lh_chroot_resolv | |
parent | c79ab34a7c597c9e3ab202c644121c6944789424 (diff) | |
download | live-build-f314791fa2fa3e6a557ca50ecb4a0cf7798fee79.zip live-build-f314791fa2fa3e6a557ca50ecb4a0cf7798fee79.tar.gz |
Adding live-helper 1.0~a20-1.
Diffstat (limited to 'helpers/lh_chroot_resolv')
-rwxr-xr-x | helpers/lh_chroot_resolv | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/lh_chroot_resolv b/helpers/lh_chroot_resolv index 2505172..0409054 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 |