Changeset 5494


Ignore:
Timestamp:
2006-11-10T00:50:47+01:00 (9 years ago)
Author:
nbd
Message:

make sure udhcpc is spawned as a background process (use eval)

File:
1 edited

Legend:

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

    r5493 r5494  
    144144                        # don't stay running in background if dhcp is not the main proto on the interface (e.g. when using pptp) 
    145145                        [ "$proto1" != "$proto" ] && dhcpopts="-n -q" 
    146                         $DEBUG udhcpc -t 0 -i "$iface" ${ipaddr:+-r $ipaddr} ${hostname:+-H $hostname} -b -p "$pidfile" ${dhcpopts:- -R &} 
     146                        $DEBUG eval udhcpc -t 0 -i "$iface" ${ipaddr:+-r $ipaddr} ${hostname:+-H $hostname} -b -p "$pidfile" ${dhcpopts:- -R &} 
    147147                        lock -u "/var/lock/dhcp-$iface" 
    148148                ;; 
Note: See TracChangeset for help on using the changeset viewer.