/[baselayout]/trunk/net/dhcpcd.sh
Gentoo

Diff of /trunk/net/dhcpcd.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2653 Revision 2654
36 [ "${metric:-0}" != "0" ] && args="${args} -m ${metric}" 36 [ "${metric:-0}" != "0" ] && args="${args} -m ${metric}"
37 37
38 # Bring up DHCP for this interface 38 # Bring up DHCP for this interface
39 ebegin "Running dhcpcd" 39 ebegin "Running dhcpcd"
40 40
41 eval /sbin/dhcpcd "${args}" "${IFACE}" 41 eval start-stop-daemon --start --exec /sbin/dhcpcd \
42 --pidfile /var/run/"dhcpcd-${IFACE}.pid" \
43 -- "${args}" "${IFACE}"
42 eend $? || return 1 44 eend $? || return 1
43 45
44 _show_address 46 _show_address
45 return 0 47 return 0
46} 48}

Legend:
Removed from v.2653  
changed lines
  Added in v.2654

  ViewVC Help
Powered by ViewVC 1.1.20