Revision: 6427 http://ipcop.svn.sourceforge.net/ipcop/?rev=6427&view=rev Author: owes Date: 2012-02-27 18:20:25 +0000 (Mon, 27 Feb 2012) Log Message: ----------- Redefine scheduler text for blacklist update
Modified Paths: -------------- ipcop/trunk/src/libs/scheduler-lib.pl ipcop/trunk/src/scripts/scheduler.pl ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0 Modified: ipcop/trunk/src/libs/scheduler-lib.pl =================================================================== --- ipcop/trunk/src/libs/scheduler-lib.pl 2012-02-27 12:18:49 UTC (rev 6426) +++ ipcop/trunk/src/libs/scheduler-lib.pl 2012-02-27 18:20:25 UTC (rev 6427) @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with IPCop. If not, see <http://www.gnu.org/licenses/>. # -# Copyright (c) 2009-2011 The IPCop Team +# Copyright (c) 2009-2012 The IPCop Team # # $Id$ # @@ -34,13 +34,13 @@ @SCHEDULER::actions = ( 'reconnect', 'dial', 'hangup', 'reboot', 'shutdown', 'start ipsec', 'stop ipsec', 'start openvpn server', 'stop openvpn server', - 'dyndns force', 'check for updates', 'urlfilter blacklist update' + 'dyndns force', 'check for updates', 'check for blacklist updates' ); # we also want these actions pulled in for translations # $Lang::tr{'reconnect'} $Lang::tr{'dial'} $Lang::tr{'hangup'} # $Lang::tr{'reboot'} $Lang::tr{'shutdown'} # $Lang::tr{'start ipsec'} $Lang::tr{'stop ipsec'} $Lang::tr{'start openvpn server'} $Lang::tr{'stop openvpn server'} -# $Lang::tr{'dyndns force'} $Lang::tr{'check for updates'} +# $Lang::tr{'dyndns force'} $Lang::tr{'check for updates'} $Lang::tr{'check for blacklist updates'} $SCHEDULER::maxprofiles = 5; Modified: ipcop/trunk/src/scripts/scheduler.pl =================================================================== --- ipcop/trunk/src/scripts/scheduler.pl 2012-02-27 12:18:49 UTC (rev 6426) +++ ipcop/trunk/src/scripts/scheduler.pl 2012-02-27 18:20:25 UTC (rev 6427) @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with IPCop. If not, see <http://www.gnu.org/licenses/>. # -# (c) 2009-2011, the IPCop team +# (c) 2009-2012, the IPCop team # # $Id$ # @@ -246,7 +246,7 @@ elsif ($SCHEDULER::list[$id]{'ACTION'} eq 'check for updates') { &update(); } - elsif ($SCHEDULER::list[$id]{'ACTION'} eq 'urlfilter blacklist update') { + elsif ($SCHEDULER::list[$id]{'ACTION'} eq 'check for blacklist updates') { &blacklistupdate(); } } Modified: ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0 =================================================================== --- ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0 2012-02-27 12:18:49 UTC (rev 6426) +++ ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0 2012-02-27 18:20:25 UTC (rev 6427) @@ -14,8 +14,10 @@ /home/httpd/html/images/redirect-background.png /usr/lib/ipcop/general-functions.pl /usr/lib/ipcop/library.sh +/usr/lib/ipcop/scheduler-lib.pl /usr/local/bin/blacklistupdate.pl /usr/local/bin/puzzleFwRules.pl +/usr/local/bin/scheduler.pl /usr/share/locale/af_ZA/LC_MESSAGES/ipcop.mo /usr/share/locale/bg_BG/LC_MESSAGES/ipcop.mo /usr/share/locale/ca_ES/LC_MESSAGES/ipcop.mo This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn