X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fgrml%2Fgrml_cleanup_chroot;h=62902bb601a2c4add99818ea00d9b54bbe3394bc;hp=57756d232233e1a0672b6187e7d4a68135076398;hb=bbf62edbd7cc3872a074fee9d7361f689ba768fb;hpb=c745e7411722e1b63b1f26caf2806e5bddeae2cc diff --git a/etc/grml/fai/grml/grml_cleanup_chroot b/etc/grml/fai/grml/grml_cleanup_chroot index 57756d2..62902bb 100755 --- a/etc/grml/fai/grml/grml_cleanup_chroot +++ b/etc/grml/fai/grml/grml_cleanup_chroot @@ -4,7 +4,6 @@ # Authors: (c) Michael Prokop # 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