102 |
|
|
103 |
case ${ALX_NETWORKING} in |
case ${ALX_NETWORKING} in |
104 |
dhcp|DHCP) |
dhcp|DHCP) |
105 |
echo 'DHCP_PROG="/sbin/dhcpcd"' >> /etc/conf.d/net.${iface} |
echo 'DHCP_PROG="/sbin/udhcpc"' >> /etc/conf.d/net.${iface} |
106 |
# -k kills the dhcp-cache at system shutdown |
# -k kills the dhcp-cache at system shutdown |
107 |
# -z will not |
# -z will not |
108 |
echo 'DHCP_STOP="-z"' >> /etc/conf.d/net.${iface} |
echo 'DHCP_STOP=""' >> /etc/conf.d/net.${iface} |
109 |
#timeout after 10 seconds |
#timeout after 10 seconds |
110 |
echo 'DHCP_START="-t 10"' >> /etc/conf.d/net.${iface} |
echo 'DHCP_START="-t 10"' >> /etc/conf.d/net.${iface} |
111 |
;; |
;; |