David Aspinall <[EMAIL PROTECTED]> writes:
> I have two problems with this script, would be nice to solve them
> for Mandrake.
>
> 1) (mdk bug?) Lots of errors mentioning `basename'. Reason: running
> code for DHCP even if it's not enabled for interface. Patch below.
it's fixed in initscripts version :
* Fri Apr 28 2000 Chmouel Boudjnah <[EMAIL PROTECTED]> 4.97-28mdk
- sysconfig/network-scripts/ifup (DHCP_ARGS): fix ugly ''basename
command not found''
- sysconfig/network-scripts/ifdown (CONFIG): fix support for
multiple dhcp client.
> 2) (rh bug/prob?) Lines beginning "this is broken! it's only here for
> compatibility with old RH systems". Can we remove this duff code
> please? The reason is: I want different gateways for different
> interfaces, but this code results in duplicating gateway which is set
> in /etc/sysconfig/network-scripts/ifcfg-eth<nn> instead of global file
> /etc/sysconfig/network See my netstat below
yes i remove this ASAP, since it's only compatibility for kernel < 2.2
and can make some problems.
--
MandrakeSoft Inc http://www.mandrakesoft.com
San-Diego, CA USA. --Chmouel