Revision: 7871
          http://sourceforge.net/p/ipcop/svn/7871
Author:   owes
Date:     2015-02-06 14:23:18 +0000 (Fri, 06 Feb 2015)
Log Message:
-----------
Silence cleanup() in case module does not exist.

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

Modified: ipcop/trunk/src/rc.d/rc.red
===================================================================
--- ipcop/trunk/src/rc.d/rc.red 2015-02-06 12:00:14 UTC (rev 7870)
+++ ipcop/trunk/src/rc.d/rc.red 2015-02-06 14:23:18 UTC (rev 7871)
@@ -16,7 +16,7 @@
 # along with IPCop.  If not, see <http://www.gnu.org/licenses/>.
 #
 # (c) The SmoothWall Team
-# Copyright (c) 2001-2014 The IPCop Team
+# Copyright (c) 2001-2015 The IPCop Team
 #
 # $Id$
 
@@ -90,8 +90,8 @@
     #if ($pppsettings{'TYPE'} ne 'eagleusbadsl')    { system('/sbin/modprobe', 
'-r', 'eagle-usb');}
     #if ($pppsettings{'TYPE'} ne 'fritzdsl')    {
     #   system('/sbin/modprobe', '-r', 'fcdsl', 'fcdsl2', 'fcdslsl');}
-    if ($pppsettings{'TYPE'} ne 'pulsardsl') { system('/sbin/modprobe', '-r', 
'pulsar'); }
-    if ($pppsettings{'TYPE'} ne 'solosdsl')  { system('/sbin/modprobe', '-r', 
'solos_pci'); }
+    if ($pppsettings{'TYPE'} ne 'pulsardsl') { system('/sbin/modprobe -r 
pulsar 2>/dev/null'); }
+    if ($pppsettings{'TYPE'} ne 'solosdsl')  { system('/sbin/modprobe -r 
solos_pci 2>/dev/null'); }
     sleep 1;
     if ($pppsettings{'TYPE'} !~ 
/^(alcatelusb|conexantpciadsl|pulsardsl|solos_pci)$/) {
         system('/sbin/modprobe', '-r', 'atm');

Modified: ipcop/trunk/updates/2.2.0/ROOTFILES.i486-2.2.0
===================================================================
--- ipcop/trunk/updates/2.2.0/ROOTFILES.i486-2.2.0      2015-02-06 12:00:14 UTC 
(rev 7870)
+++ ipcop/trunk/updates/2.2.0/ROOTFILES.i486-2.2.0      2015-02-06 14:23:18 UTC 
(rev 7871)
@@ -1,5 +1,6 @@
 ## please place IPCop files first, then packages sorted by alphabetical order
 ##
+/etc/rc.d/rc.red
 /home/httpd/cgi-bin/updates.cgi
 /usr/local/bin/accountingctrl
 /usr/local/bin/conntrack_helper

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


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to