Changeset 18876


Ignore:
Timestamp:
2009-12-21T11:25:15+01:00 (8 years ago)
Author:
hcg
Message:

Add udhcpc command-line argument to request rootpath

File:
1 edited

Legend:

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

    r17596 r18876  
    290290                                local dhcpopts 
    291291                                [ ."$proto1" != ."$proto" ] && dhcpopts="-n -q" 
    292                                 $DEBUG eval udhcpc -t 0 -i "$iface" ${ipaddr:+-r $ipaddr} ${hostname:+-H $hostname} ${clientid:+-c $clientid} -b -p "$pidfile" ${dhcpopts:- -R &} 
     292                                $DEBUG eval udhcpc -t 0 -i "$iface" ${ipaddr:+-r $ipaddr} ${hostname:+-H $hostname} ${clientid:+-c $clientid} -b -p "$pidfile" ${dhcpopts:- -O rootpath -R &} 
    293293                                lock -u "/var/lock/dhcp-$iface" 
    294294                        fi 
Note: See TracChangeset for help on using the changeset viewer.