grml_cleanup_chroot: get rid of some further lvm files
[grml-live.git] / etc / grml / fai / grml / grml_cleanup_chroot
index 57756d2..62902bb 100755 (executable)
@@ -4,7 +4,6 @@
 # Authors:       (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Sun Nov 04 12:12:57 CET 2007 [mika]
 ################################################################################
 
 # misc stuff
@@ -262,7 +261,7 @@ einfo "Cleaning and removing some misc files and directories"
          /var/state/*/* /var/state/* /var/log/nessus/*                            \
          /halt /reboot /ash.static /etc/dhcpc/*.info /etc/dhcpc/resolv*           \
          /etc/*passwd- /etc/*shadow- /etc/*group- /var/spool/postfix/maildrop/*   \
-         /etc/lvm/.cache 2>/dev/null
+         /etc/lvm/.cache /etc/lvm/cache/.cache /etc/lvm/backup/main 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    \
          /var/lib/mysql /var/log/lilo_log.* /core* 2>/dev/null
@@ -331,12 +330,6 @@ else
   ewarn "clamav[-freshclam] not installed" ; eend 0
 fi
 
-if [ -f /etc/default/snort.dpkg-dist -a -f /etc/default/snort ] ; then
-   einfo "Fixxing /etc/default/snort"
-   mv /etc/default/snort.dpkg-dist /etc/default/snort
-   eend $?
-fi
-
 if ! [ -r /etc/ld.so.nohwcap ] ; then
    einfo "Creating /etc/ld.so.nohwcap"
    touch /etc/ld.so.nohwcap