# slugos, eth0. The bootproto, which LinkSys sets to static in
# manufacturing, is reset to dhcp if the IP is still the
# original (192.168.1.77)
+ # Note: SlugOS 5.8 - Due to mass confusion, the bootproto is no
+ # longer changed if it is set to static with ip=192.168.1.77.
sedcmd='/^\[[^][]*\]$/p;'
# only do the ip_addr and lan_interface fixups on NSLU2
if test "$(machine)" = nslu2
then
sedcmd="$sedcmd"'
- s/^lan_interface=ixp0$/lan_interface=eth0/;
- /^ip_addr=192\.168\.1\.77$/,/^bootproto/s/^bootproto=static$/bootproto=dhcp/;'
+ s/^lan_interface=ixp0$/lan_interface=eth0/;'
fi
# always fix up the hardware addr if it is present
mac="$(config mac)"