Revision: 6794
http://ipcop.svn.sourceforge.net/ipcop/?rev=6794&view=rev
Author: owes
Date: 2012-10-26 08:21:11 +0000 (Fri, 26 Oct 2012)
Log Message:
-----------
If scheduled to do an update-check: do it without any questioning.
Modified Paths:
--------------
ipcop/tags/release-2.0.3/src/scripts/updatelists.pl
ipcop/tags/release-2.0.3/updates/2.0.5/ROOTFILES.i486-2.0.5
Modified: ipcop/tags/release-2.0.3/src/scripts/updatelists.pl
===================================================================
--- ipcop/tags/release-2.0.3/src/scripts/updatelists.pl 2012-10-26 08:15:39 UTC
(rev 6793)
+++ ipcop/tags/release-2.0.3/src/scripts/updatelists.pl 2012-10-26 08:21:11 UTC
(rev 6794)
@@ -13,10 +13,9 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with IPCop; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# along with IPCop. If not, see <http://www.gnu.org/licenses/>.
#
-# (c) 2006-2009, the IPCop team
+# (c) 2006-2012, the IPCop team
#
# $Id$
#
@@ -34,9 +33,6 @@
if (($ARGV[0] eq '--cron') || ($ARGV[0] eq 'cron')) {
exit 1 unless (-e "/var/ipcop/red/active");
- # Connection is up. Check age of file.
- exit 0 unless (system('find /var/ipcop/red/active -mtime +1 | grep active
> /dev/null') == 0);
-
# spread the load on the servers by waiting a random length of time...
my $sleepwait = int(rand(60));
sleep $sleepwait;
Modified: ipcop/tags/release-2.0.3/updates/2.0.5/ROOTFILES.i486-2.0.5
===================================================================
--- ipcop/tags/release-2.0.3/updates/2.0.5/ROOTFILES.i486-2.0.5 2012-10-26
08:15:39 UTC (rev 6793)
+++ ipcop/tags/release-2.0.3/updates/2.0.5/ROOTFILES.i486-2.0.5 2012-10-26
08:21:11 UTC (rev 6794)
@@ -1,6 +1,7 @@
## please place IPCop files first, then packages sorted by alphabetical order
/home/httpd/cgi-bin/updates.cgi
/usr/lib/ipcop/general-functions.pl
+/usr/local/bin/updatelists.pl
## tzdata-2012g
/usr/share/zoneinfo/posix/Africa/Casablanca
/usr/share/zoneinfo/posix/America/Atikokan
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn