Syntax error in lrm-manager: /sbin/lrm-manager: line 51: syntax error near unexpected token `)'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-restricted-modules (Ubuntu) |
Fix Released
|
Undecided
|
Ben Collins |
Bug Description
Binary package hint: linux-restricte
I found that the modules for my Atheros card were not available when I upgrade my linux-image-generic to 2.6.26-3 (and its corresponding restricted-modules package). The modules where in the latter, but they where not being made available. I was able to trace the bug to lrm-manager, which produces the following error:
$ sudo lrm-manager --kver=
/sbin/lrm-manager: 51: Syntax error: ")" unexpected (expecting ";;")
The offending lines are:
49 case "$1" in
50 ath_hal)
51 madwifi)
52 set -- $@ ath_hal ath_pci ath_rate_amrr ath_rate_minstrel \
I changed it to the following, after reading dash's manual page, and is now working:
49 case "$1" in
50 ath_hal|madwifi)
51 set -- $@ ath_hal ath_pci ath_rate_amrr ath_rate_minstrel \
-----
About my system:
$ lsb_release -rd
Description: Ubuntu intrepid (development branch)
Release: 8.10
$ apt-cache policy linux-restricte
linux-restricte
Installed: 2.6.26-3.6
Candidate: 2.6.26-3.6
Version table:
*** 2.6.26-3.6 0
500 http://
100 /var/lib/
I got it too.