Changeset 9159


Ignore:
Timestamp:
2007-10-06T05:12:04+02:00 (10 years ago)
Author:
thepeople
Message:

add clientid to udhcpc thanks pjama

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/files/lib/network/config.sh

    r8343 r9159  
    178178                        config_get hostname "$config" hostname 
    179179                        config_get proto1 "$config" proto 
     180                        config_get clientid "$config" clientid 
    180181 
    181182                        [ -z "$ipaddr" ] || \ 
     
    184185                        # don't stay running in background if dhcp is not the main proto on the interface (e.g. when using pptp) 
    185186                        [ ."$proto1" != ."$proto" ] && dhcpopts="-n -q" 
    186                         $DEBUG eval udhcpc -t 0 -i "$iface" ${ipaddr:+-r $ipaddr} ${hostname:+-H $hostname} -b -p "$pidfile" ${dhcpopts:- -R &} 
     187                        $DEBUG eval udhcpc -t 0 -i "$iface" ${ipaddr:+-r $ipaddr} ${hostname:+-H $hostname} ${clientid:+-c $clientid} -b -p "$pidfile" ${dhcpopts:- -R &} 
    187188                        lock -u "/var/lock/dhcp-$iface" 
    188189                ;; 
Note: See TracChangeset for help on using the changeset viewer.