Fix snort setup
authorMichael Prokop <devnull@localhost>
Sun, 16 Dec 2007 20:38:36 +0000 (21:38 +0100)
committerMichael Prokop <devnull@localhost>
Sun, 16 Dec 2007 20:38:36 +0000 (21:38 +0100)
etc/grml/fai/grml/grml_cleanup_chroot

index 4b6df6d..d59c77b 100755 (executable)
@@ -302,6 +302,12 @@ 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