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

Unified Diff: src/rootfs_static_data/common/etc/udev/rules.d/70-persistent-net.rules

Issue 424011: build: Update fontconfig to fall back on Droid. (Closed)
Patch Set: update usernames Created 11 years, 1 month 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
Index: src/rootfs_static_data/common/etc/udev/rules.d/70-persistent-net.rules
diff --git a/src/rootfs_static_data/common/etc/udev/rules.d/70-persistent-net.rules b/src/rootfs_static_data/common/etc/udev/rules.d/70-persistent-net.rules
new file mode 100644
index 0000000000000000000000000000000000000000..68425944827ac2db02d933b9913f8eddb950d004
--- /dev/null
+++ b/src/rootfs_static_data/common/etc/udev/rules.d/70-persistent-net.rules
@@ -0,0 +1,6 @@
+# If we don't create generic udev rules, then udev will try to save the
+# history of various devices (i.e. always associate a given device and MAC
+# address with the same wlan number). As we use a keyfob across different
+# machines the ethN and wlanN keep changing.
+SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
+SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
« no previous file with comments | « src/rootfs_static_data/common/etc/gtk-2.0/gtkrc ('k') | src/rootfs_static_data/common/usr/share/icons/default/index.theme » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698