]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/updxlrator/updxlrator
DHCP und Squid-Initscripts optimiert fuer ein schnelleres starten und stoppen.
[ipfire-2.x.git] / config / updxlrator / updxlrator
index a7a7358492287fd705d2a3c21188b8628438e20e..019e20f5ff5d3aaf4d6166c797d1561fea2ed50e 100644 (file)
@@ -124,9 +124,28 @@ while (<>) {
        if ($dsturl =~ m@^http://download[0-99]\.avast\.com/.*\.(exe|zip|vps|stamp|vpu)$@i) 
        { 
        $from_local_cache = &cache_access($dsturl,$hostaddr,$username,"Avast"); 
+       }  
+       
+       # ----------------------------------------------------------- 
+       # Section: IPFire Downloads 
+       # -----------------------------------------------------------  
+       
+       if ($dsturl =~ m@^[f|h]t?tp://.*\.(ipfire)$@i) 
+       { 
+       $from_local_cache = &cache_access($dsturl,$hostaddr,$username,"IPFire"); 
        } 
        
        # ----------------------------------------------------------- 
+       # Section: Linux Downloads 
+       # -----------------------------------------------------------  
+       
+       if ($dsturl =~ m@^[f|h]t?tp://.*\.(deb|rpm)$@i) 
+       { 
+       $from_local_cache = &cache_access($dsturl,$hostaddr,$username,"Linux"); 
+       }
+       
+       # ----------------------------------------------------------- 
+
 
        }