Network configuration on the LiveCD

Justin R. Knierim lfs at
Tue Dec 20 09:15:26 PST 2005

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.  :)


More information about the livecd mailing list