Index: udev-addon.conf |
diff --git a/udev-addon.conf b/udev-addon.conf |
index 86378e8b095f4d1cd3da07b630dfce9616722a8b..6a57430308aecba0afd20ad89bc681ea85fbbebc 100644 |
--- a/udev-addon.conf |
+++ b/udev-addon.conf |
@@ -33,8 +33,11 @@ script |
olddrv=$(head -1 $drvfile) |
fi |
+ # Blacklist brcm drivers |
jrbarnette
2011/04/06 22:20:51
Can you add a TODO here? I want to make sure it's
kliegs
2011/04/06 22:30:12
Done.
|
+ if [ "$(echo $drv | head -c4)" = "brcm" ] ; then |
+ [ -s $drvfile ] && rm $drvfile |
jrbarnette
2011/04/06 22:20:51
Ugh. I'm not fond of this idiom. This will work
kliegs
2011/04/06 22:30:12
Done.
|
# Only update contents if they've changed. |
- if [ "$drv" != "$olddrv" ] ; then |
+ elif [ "$drv" != "$olddrv" ] ; then |
echo "$drv" > $drvfile |
fi |
else |