Added clamav files to ucf handling.
authorValentin Vidic <vvidic@carnet.hr>
Fri, 7 Mar 2008 13:29:06 +0000 (14:29 +0100)
committerValentin Vidic <vvidic@carnet.hr>
Fri, 7 Mar 2008 13:29:06 +0000 (14:29 +0100)
src/functions.sh

index 40378f9..68996bc 100644 (file)
@@ -526,12 +526,14 @@ restore_configs () {
       done
   fi
 
-  # register cn changes in apache files
-  for config in /etc/php4/cgi/php.ini \
-                /etc/php4/cli/php.ini \
-                /etc/php4/apache/php.ini \
+  # register cn changes in ucf managed files
+  for config in /etc/apache/modules.conf \
+                /etc/clamav/clamd.conf \
+                /etc/clamav/freshclam.conf \
                 /etc/php4/apache2/php.ini \
-                /etc/apache/modules.conf
+                /etc/php4/apache/php.ini \
+                /etc/php4/cgi/php.ini \
+                /etc/php4/cli/php.ini
   do 
       config_backup=$config.$backup_ext
       if [ -e $config -a ! -e $config_backup ]; then