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

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: Added -f to rm 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..52b7db4f3a120fd6d820270ff081245c8fc249e4 100644
--- a/udev-addon.conf
+++ b/udev-addon.conf
@@ -33,8 +33,12 @@ script
olddrv=$(head -1 $drvfile)
fi
+ # Blacklist brcm drivers
+ # TODO: investigate true cause of the problem and remove blacklist
+ if [ "$(echo $drv | head -c4)" = "brcm" ] ; then
+ rm -f $drvfile
# 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