Changeset 8023 in genesis for tools/proxy-8.0


Ignore:
Timestamp:
May 25, 2010, 2:56:28 PM (15 years ago)
Author:
rick
Message:

DHCLIENT support on interfaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/proxy-8.0/wleiden.pl

    r8020 r8023  
    253253      }
    254254      else {
    255         $output .= "ifconfig_$if=\"inet $IP{$interface}";
     255        if ( $DHCPCLIENT{$if} =~ /yes/i ) {
     256           $output .= "ifconfig_$if=\"inet DHCP";
     257        } else {
     258           $output .= "ifconfig_$if=\"inet $IP{$interface}";
     259        };
    256260        $output .= " $CARD_OPTION{$interface}";
    257261        if( $TYPE{$if} =~ /wireless/i ) {
Note: See TracChangeset for help on using the changeset viewer.