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

Diff of /trunk/net/dhcpcd.sh

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

Revision 2671 Revision 2672
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 start-stop-daemon --start --exec /sbin/dhcpcd \ 41 eval /sbin/dhcpcd "${args}" "${IFACE}"
42 --pidfile /var/run/"dhcpcd-${IFACE}.pid" \
43 -- "${args}" "${IFACE}"
44 eend $? || return 1 42 eend $? || return 1
45 43
46 _show_address 44 _show_address
47 return 0 45 return 0
48} 46}

Legend:
Removed from v.2671  
changed lines
  Added in v.2672

  ViewVC Help
Powered by ViewVC 1.1.20