/[baselayout]/trunk/net-scripts/net.modules.d/dhcpcd
Gentoo

Diff of /trunk/net-scripts/net.modules.d/dhcpcd

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

Revision 1752 Revision 1753
125 125
126 # Halt any existing dhcpcd process 126 # Halt any existing dhcpcd process
127 dhcpcd_stop "${iface}" 127 dhcpcd_stop "${iface}"
128 128
129 [[ ! -d "${statedir}/${iface}" ]] && mkdir -m 0755 -p "${statedir}/${iface}" 129 [[ ! -d "${statedir}/${iface}" ]] && mkdir -m 0755 -p "${statedir}/${iface}"
130
131 if [[ ${background} == "yes" ]]; then
132 eval dhcpcd "${opts}" "${iface}" &
133 eend 0
134 go_background
135 fi
136
137 eval dhcpcd "${opts}" "${iface}" 130 eval dhcpcd "${opts}" "${iface}"
138 eend $? || return 1 131 eend $? || return 1
139 132
140 # DHCP succeeded, show address retrieved 133 # DHCP succeeded, show address retrieved
141 local addr=$( interface_get_address "${iface}" ) 134 local addr=$( interface_get_address "${iface}" )

Legend:
Removed from v.1752  
changed lines
  Added in v.1753

  ViewVC Help
Powered by ViewVC 1.1.20