Red Hat Bugzilla – Bug 460640
dhclient script problem
Last modified: 2008-08-29 17:56:56 EDT
Description of problem:
Seeing a problem in my boot log - for the file /sbin/dhclient-script
Script seems to be part of dhclient package - but as bugzilla doesn't allow me to select this package I'm using dhcp.
Zjišťuji IP informace pro eth0...Nothing to flush.
/sbin/dhclient-script: line 186: [: '': integer expression expected
(messages in Czech are not important)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. shown during boot
The problem with this was the initial value of $metric was set to '', instead of being an empty string. The actual offending line was:
The double quotes cause the '' to be interpreted as the value for metric. I could either remove the double quotes or remove the single quotes, but I couldn't have both.
Fixed in dhcp-4.0.0-23.fc10
Thanks for the report.