[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop:[5689] ipcop/trunk
From:       owes () users ! sourceforge ! net
Date:       2011-05-29 7:55:09
Message-ID: E1QQaq5-0008JR-T3 () sfp-svn-3 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 5689
          http://ipcop.svn.sourceforge.net/ipcop/?rev=5689&view=rev
Author:   owes
Date:     2011-05-29 07:55:09 +0000 (Sun, 29 May 2011)

Log Message:
-----------
Add RED type to logline.

Modified Paths:
--------------
    ipcop/trunk/src/rc.d/rc.red
    ipcop/trunk/updates/1.9.20/ROOTFILES.i486-1.9.20

Modified: ipcop/trunk/src/rc.d/rc.red
===================================================================
--- ipcop/trunk/src/rc.d/rc.red	2011-05-29 07:42:38 UTC (rev 5688)
+++ ipcop/trunk/src/rc.d/rc.red	2011-05-29 07:55:09 UTC (rev 5689)
@@ -17,6 +17,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 #
 # (c) The SmoothWall Team
+# Copyright (c) 2001-2011 The IPCop Team
 #
 # $Id$
 
@@ -124,7 +125,7 @@
     ###
     if ($netsettings{'RED_COUNT'} > 0) {
         if ($netsettings{'RED_1_DEV'} ne '') {
-            &General::log("red", "Starting RED device $netsettings{'RED_1_DEV'}.");
+            &General::log("red", "Starting RED device $netsettings{'RED_1_DEV'} type \
$netsettings{'RED_1_TYPE'}.");  
             if ($netsettings{'RED_1_TYPE'} eq 'DHCP') {
                 if (open(FILE, ">/var/ipcop/red/iface")) { print FILE \
$netsettings{'RED_1_DEV'}; close FILE; } @@ -137,7 +138,7 @@
                 dodhcpdial($netsettings{'RED_1_DEV'}, \
$netsettings{'RED_DHCP_HOSTNAME'});  }
             elsif (($netsettings{'RED_1_TYPE'} eq 'STATIC')
-                || ($netsettings{'RED_1_TYPE'} eq 'PPTP') && ($pppsettings{'METHOD'} \
ne 'DHCP')) +                || (($netsettings{'RED_1_TYPE'} eq 'PPTP') && \
($pppsettings{'METHOD'} ne 'DHCP')))  {
                 system("/sbin/ip", "addr", "flush", "dev", \
                $netsettings{'RED_1_DEV'});
                 system("/sbin/ip", "addr", "add", \
"$netsettings{'RED_1_ADDRESS'}/$netsettings{'RED_1_NETMASK'}", "dev", \
$netsettings{'RED_1_DEV'});

Modified: ipcop/trunk/updates/1.9.20/ROOTFILES.i486-1.9.20
===================================================================
--- ipcop/trunk/updates/1.9.20/ROOTFILES.i486-1.9.20	2011-05-29 07:42:38 UTC (rev \
                5688)
+++ ipcop/trunk/updates/1.9.20/ROOTFILES.i486-1.9.20	2011-05-29 07:55:09 UTC (rev \
5689) @@ -1,4 +1,5 @@
 ## please place IPCop files first, then packages sorted by alphabetical order
+/etc/rc.d/rc.red
 /home/httpd/cgi-bin/email.cgi
 /home/httpd/cgi-bin/logfirewall.cgi
 /home/httpd/cgi-bin/logproxy.cgi


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic