Filewatcher File Search
FTP Search
  
Directory (beta)
  
Content Search (beta)
   
pkg://squid_2.4.6-2woody8_arm.deb:725990/config  info  downloads

#!/bin/sh -e

#
#       check for old config-style in squid.conf
#       (include "ufs" (Unix File System) after "cache_dir".)
#
conf_fix_check_cache_dir () {
  
  if [ -f "/etc/squid.conf" ]; then
  
    sq=/etc/squid.conf
    w="     " # space tab
    grep -q "^cache_dir[$w]*[^/$w]" /etc/squid.conf && return
    umask 022
    
    if grep -q '^dns_children\|^dns_defnames\|^cache_dns_program' $sq || ( grep -q '^cache_dir' $sq && ! grep -q '^cache_dir.*ufs' $sq ); then
   
      # Source debconf library.
       . /usr/share/debconf/confmodule
       db_version 2.0
          
       # ask debconf-question here
       db_input high squid/fix_lines || true
       db_go
    
    fi
  
  fi
} 

conf_fix_check_cache_dir
Results 1 - 1
Help - FTP Sites List - Software Dir.
Searching half a billion files worldwide
© 1997-2008 IT MARUHN