This is NOT fixed yet (Hardy 8.04). Excuse my very rushed comment.
First, a typo
- if [ ${IPOPTS} == "dhcp"] && [ -n "$DHCPPORT" ]; then
+ if [ ${IPOPTS} == "dhcp" ] && [ -n "$DHCPPORT" ]; then
(Note the space)
Second. I'm still unsure if $IPOPTS should be in ipconfig long format as
described here: -
- http://codtech.com/wiki/index.php/Ipconfig#interface_spec_long_form
Or if it is something more simpler (ie kernel command line 'ip=dhcp'). Or is it
both?
If I pass the following kernel command line:
ip=172.16.200.100:172.16.200.1:::::none
the client gets assigned a static IP correctly.
If I pass: -
ip=:172.16.200.1:::::dhcp
the script fails as its expecting 'dhcp' as its only parameter
(${IPOPTS} == "dhcp").
--
make it easier to specify alternate DHCP ports
https://bugs.launchpad.net/bugs/198356
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs