X-Git-Url: https://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=etc%2Fgrml%2Ffai%2Fgrml%2Fgrml_cleanup_chroot;h=213ee0093ec84cf3a6ab7f5f73a1abff116d9b6d;hb=fcd920d41a92ba3129027f947a6de9acfb76ab6e;hp=0a1ace0bfab06809f0ea9ccbc05ead3bb3480ed8;hpb=52cbd9191aa833bd42daadd1b04f0fe59927f3ec;p=grml-live.git diff --git a/etc/grml/fai/grml/grml_cleanup_chroot b/etc/grml/fai/grml/grml_cleanup_chroot index 0a1ace0..213ee00 100755 --- a/etc/grml/fai/grml/grml_cleanup_chroot +++ b/etc/grml/fai/grml/grml_cleanup_chroot @@ -307,8 +307,7 @@ einfo "Cleaning and removing some misc files and directories" /var/run/*/* /var/run/* /var/log/ksymoops/* /var/lock/*/* /var/lock/* \ /var/state/*/* /var/state/* /var/log/nessus/* \ /halt /reboot /ash.static /etc/dhcpc/*.info /etc/dhcpc/resolv* \ - /etc/resolv.conf /etc/*passwd- /etc/*shadow- /etc/*group- \ - /var/spool/postfix/maildrop/* \ + /etc/*passwd- /etc/*shadow- /etc/*group- /var/spool/postfix/maildrop/* \ /etc/lvm/.cache 2>/dev/null rm -rf /tmp/* /var/tmp/* /var/tmp/.* /var/backups/* /.ssh /root/.ssh /home/*/.ssh \ /home/grml/* /home/grml/.??* /var/lib/texmf/ls-R /var/spool/texmf/ls-R \ @@ -324,29 +323,6 @@ einfo "Cleaning and removing some misc files and directories" :>/var/run/wtmp eend $? -einfo "Setting up /etc/resolv.conf" - if [ -d /etc/dhcpc ] ; then - cat >/etc/dhcpc/resolv.conf </etc/resolv.conf </dev/null