Alexander E. Patrakov wrote:

ACTION=="add", SUBSYSTEM=="net", WAIT_FOR_SYSFS="address"
ACTION=="add", SUBSYSTEM=="net", WAIT_FOR_SYSFS="addr_len"
ACTION=="add", SUBSYSTEM=="net", SYSFS{addr_len}=="6", \
   SYSFS{address}!="00:00:00:00:00:00", \
   RUN+="/bin/sh -c 'ip link set %k up ; dhcpcd -t 20 %k & ; exit 0'"

Is this acceptable? Any corrections?

Looks good to me.  Backgrounding the dhcpcd processes also is nice.  :)

Justin
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to