missing quotationmarks
Bug #53711 reported by
Andreas Nitsche
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: acpi-support
Line 10 in the file state-funcs is:
test "`cat $DEVICE/
It should be this:
test "`cat "$DEVICE/
to solve the "Checking battery state..."-problem.
On some systems booting stops with this messages. The cat command cannot reads the given file because ../device/.. is a symlink.
To post a comment you must log in.
It's more than this quotationmarks:
I've an Interface in my system called ?0. This interface is not recognized right and therefore it goes into the cat command line. I worked around this with a regex:
for DEVICE in /sys/class/ net/[a- zA-Z]* ; do
This is now my line 7 in state-funcs.
It could be a solution for normal use of device names.