j'imagine qu'en modifiant sur le fichier setup de qos imq layer7:
#!/bin/bash
UPGRADEVERSION="1.4.4-IMQ-Layer7"
PREVIOUSVERSION="1.4.4"
echo "This is the $UPGRADEVERSION homemade patch for IPCop $PREVIOUSVERSION installing."
echo "By Guillaume DELVIT (c) 2005 under GPLV2, sources
http://guiguid.free.fr/ipcop"
CURRENTVERSION=`cat /etc/issue | awk '{ print $2 }' | sed -e 's/v//'`
if [ "$CURRENTVERSION" != "$PREVIOUSVERSION" ]; then
echo "You are not running IPCop v$PREVIOUSVERSION for this patch to install."
echo "Aborting installation."
exit -1
fi
si on met PREVIOUSVERSION="1.4.5" ça doit surement fonctionner.
Vu les fichiers remplacés par l'update ça va normalement pas casser grand chose:
# Archive patch.tar.gz
2005-03-30 02:35 41 0 etc\issue
2005-03-30 02:35 1428 0 etc\logrotate.conf
2005-03-30 03:27 42458 0 var\ipcop\langs\en.pl
2005-03-30 04:07 27289 0 home\httpd\cgi-bin\dhcp.cgi
2005-03-30 04:07 12304 0 home\httpd\cgi-bin\logs.cgi\ids.dat
2005-03-30 04:07 40791 0 home\httpd\cgi-bin\portfw.cgi
2005-03-30 04:07 98351 0 home\httpd\cgi-bin\vpnmain.cgi
2004-12-18 21:11 107 0 home\httpd\html\images\forward.gif
2005-03-26 09:11 1642 0 home\httpd\html\images\web-support.png
2005-03-30 05:45 89892 0 usr\sbin\dnsmasq
2005-03-30 03:45 108364 0 lib\modules\2.4.29-smp\misc\pulsar.o.gz
2005-03-30 02:35 14534 0 usr\local\bin\setddns.pl
#
# Total Taille Compressé Fichiers
# 437201 0 12
++lcf