Attached the patch included in 0.0.9+nmu2.

diff --git a/debian/changelog b/debian/changelog
index d2d2da0..8fb6ea6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ sysconfig (0.0.9+nmu2) unstable; urgency=low
   * Non-maintainer upload.
   * Allow for driver name change in sysfs for CTC network devices in Linux
     kernel 2.6.33. Closes: #566632.
+  * Correct variable use in hwup-ccw-group script. Closes: #566635.
 
  -- Frans Pop <f...@debian.org>  Thu, 29 Apr 2010 10:50:24 +0200
 
diff --git a/etc/sysconfig/scripts/hardware/hwup-ccw-group b/etc/sysconfig/scripts/hardware/hwup-ccw-group
index 2aecf13..491e7d6 100755
--- a/etc/sysconfig/scripts/hardware/hwup-ccw-group
+++ b/etc/sysconfig/scripts/hardware/hwup-ccw-group
@@ -15,7 +15,7 @@ read_config ccw $ID
 
 CCWGROUP_ID=$CCWGROUP_CHANS
 
-if [ "$name" == cu3088 ]; then
+if [ "$NAME" == cu3088 ]; then
   modprobe ctcm 2> /dev/null || :
   modprobe ctc 2> /dev/null || :
 
@@ -26,7 +26,7 @@ if [ "$name" == cu3088 ]; then
   else
     error "no kernel module for ctc devices available!"
   fi
-elif [ "$name" == qeth ]; then
+elif [ "$NAME" == qeth ]; then
   modprobe qeth 2> /dev/null || :
 
   if [ -d $SYSFS/module/qeth ]; then

Reply via email to