From: Gilles E. <ges...@us...> - 2007-10-18 11:27:43
|
Update of /cvsroot/ipcop/ipcop/src/rc.d In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv8687/src/rc.d Modified Files: Tag: IPCOP_v1_4_0 rc.red Log Message: The closing } was a few lines after than it should have been. Old problem since 1.4.6 Consequences should have been limited as it act only when settings are changed. The main problem would have been with static IP and another default route defined but not used because the first default route set has not been removed. Index: rc.red =================================================================== RCS file: /cvsroot/ipcop/ipcop/src/rc.d/Attic/rc.red,v retrieving revision 1.29.2.61 retrieving revision 1.29.2.62 diff -C2 -d -r1.29.2.61 -r1.29.2.62 *** rc.red 12 Oct 2007 06:23:58 -0000 1.29.2.61 --- rc.red 18 Oct 2007 11:27:43 -0000 1.29.2.62 *************** *** 92,96 **** if ($pppsettings{'TYPE'} !~ /^(3cp4218usbadsl|alcatelusbk|amedynusbadsl|bewanadsl|conexantpciadsl|pulsardsl)$/) { system('/sbin/modprobe', '-r', 'atm'); ! # remove existing default route (for static address) if it was been changed from setup or web interface SF1175052 system ('/sbin/route del default 2>/dev/null'); --- 92,96 ---- if ($pppsettings{'TYPE'} !~ /^(3cp4218usbadsl|alcatelusbk|amedynusbadsl|bewanadsl|conexantpciadsl|pulsardsl)$/) { system('/sbin/modprobe', '-r', 'atm'); ! } # remove existing default route (for static address) if it was been changed from setup or web interface SF1175052 system ('/sbin/route del default 2>/dev/null'); *************** *** 98,102 **** # erase in case it was created once with 'persistent' selected but rc.red stop never used : SF1171610 unlink ("${General::swroot}/red/iface"); - } } --- 98,101 ---- |