[prev in list] [next in list] [prev in thread] [next in thread]
List: ipcop-cvs
Subject: [IPCop-cvs] ipcop/src/scripts upgrade,1.1.2.12,1.1.2.13
From: Gilles Espinasse <gespinasse () users ! sourceforge ! net>
Date: 2007-02-25 11:09:57
Message-ID: E1HLHGP-0002zp-Nn () mail ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/ipcop/ipcop/src/scripts
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv1811/src/scripts
Modified Files:
Tag: IPCOP_v1_4_0
upgrade
Log Message:
Fix a 'file not exist' warning if squid never have been started
Index: upgrade
===================================================================
RCS file: /cvsroot/ipcop/ipcop/src/scripts/Attic/upgrade,v
retrieving revision 1.1.2.12
retrieving revision 1.1.2.13
diff -C2 -d -r1.1.2.12 -r1.1.2.13
*** upgrade 25 Feb 2007 10:33:44 -0000 1.1.2.12
--- upgrade 25 Feb 2007 11:09:55 -0000 1.1.2.13
***************
*** 45,51 ****
#IPCop 1.4.14
#Convert to 2.6 squid.conf syntax when transparent
! if ( /bin/grep -q httpd_accel /var/ipcop/proxy/squid.conf ); then
! /bin/sed -i -e "/httpd_accel_.*/d" /var/ipcop/proxy/squid.conf
! /bin/sed -i -e "s/^\(http_port .*$\)/\1 transparent/" /var/ipcop/proxy/squid.conf
fi
--- 45,53 ----
#IPCop 1.4.14
#Convert to 2.6 squid.conf syntax when transparent
! if [ -s CONFIG_ROOT/proxy/squid.conf ]; then
! if ( /bin/grep -q httpd_accel CONFIG_ROOT/proxy/squid.conf ); then
! /bin/sed -i -e "/httpd_accel_.*/d" CONFIG_ROOT/proxy/squid.conf
! /bin/sed -i -e "s/^\(http_port .*$\)/\1 transparent/" CONFIG_ROOT/proxy/squid.conf
! fi
fi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
IPCop-cvs mailing list
IPCop-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic