Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Unified Diff: udev-addon.conf

Issue 6677181: Blacklist brcm* drivers from preload-wifi-driver (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/init.git@master
Patch Set: Move blacklisting to udev-addon.conf Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698