/[livecd-tools]/trunk/autoconfig
Gentoo

Diff of /trunk/autoconfig

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

Revision 134 Revision 135
384 for nics in ${NETDEVICES} 384 for nics in ${NETDEVICES}
385 do 385 do
386 if [ "${DHCP}" = "yes" ] 386 if [ "${DHCP}" = "yes" ]
387 then 387 then
388 einfo "Network device ${HILITE}${nics}${NORMAL} detected, DHCP broadcasting for IP ..." 388 einfo "Network device ${HILITE}${nics}${NORMAL} detected, DHCP broadcasting for IP ..."
389 if [ -f /var/run/dhcpcd-${nics}.pid ]
390 then
391 if [ ! $(/sbin/ifconfig ${nics} | grep "inet addr" ]
392 then
393 kill $(cat /var/run/dhcpcd-${nics}.pid)
394 sleep 2
395 dhcpcd -n -h $(hostname) ${nics}
396 fi
397 fi
389 fi 398 fi
390 done 399 done
391 else 400 else
392 ewarn "No Network device auto detected ..." 401 ewarn "No Network device auto detected ..."
393 fi 402 fi

Legend:
Removed from v.134  
changed lines
  Added in v.135

  ViewVC Help
Powered by ViewVC 1.1.20