|
|
728caa |
diff --git a/biosdevname.rules.in b/biosdevname.rules.in
|
|
|
728caa |
index 0a32aa5..52aaea5 100644
|
|
|
728caa |
--- a/biosdevname.rules.in
|
|
|
728caa |
+++ b/biosdevname.rules.in
|
|
|
728caa |
@@ -4,6 +4,9 @@ NAME=="?*", GOTO="netdevicename_end"
|
|
|
728caa |
ATTR{type}!="1", GOTO="netdevicename_end"
|
|
|
728caa |
ENV{DEVTYPE}=="?*", GOTO="netdevicename_end"
|
|
|
728caa |
|
|
|
728caa |
+# whitelist all Dell systems
|
|
|
728caa |
+ATTR{[dmi/id]sys_vendor}=="Dell*", ENV{UDEV_BIOSDEVNAME}="1"
|
|
|
728caa |
+
|
|
|
728caa |
# kernel command line "biosdevname={0|1}" can turn off/on biosdevname
|
|
|
728caa |
IMPORT{cmdline}="biosdevname"
|
|
|
728caa |
ENV{biosdevname}=="?*", ENV{UDEV_BIOSDEVNAME}="$env{biosdevname}"
|
|
|
728caa |
@@ -12,13 +15,13 @@ ENV{biosdevname}=="?*", ENV{UDEV_BIOSDEVNAME}="$env{biosdevname}"
|
|
|
728caa |
ENV{UDEV_BIOSDEVNAME}=="0", GOTO="netdevicename_end"
|
|
|
728caa |
ENV{UDEV_BIOSDEVNAME}=="1", GOTO="netdevicename_start"
|
|
|
728caa |
|
|
|
728caa |
-# uncomment the next line for biosdevname to be off by default
|
|
|
728caa |
-# GOTO="netdevicename_end"
|
|
|
728caa |
+# off by default
|
|
|
728caa |
+GOTO="netdevicename_end"
|
|
|
728caa |
|
|
|
728caa |
LABEL="netdevicename_start"
|
|
|
728caa |
|
|
|
728caa |
# using NAME= instead of setting INTERFACE_NAME, so that persistent
|
|
|
728caa |
# names aren't generated for these devices, they are "named" on each boot.
|
|
|
728caa |
-SUBSYSTEMS=="pci", PROGRAM="/sbin/biosdevname --policy physical -i %k", NAME="%c", OPTIONS+="string_escape=replace"
|
|
|
728caa |
+SUBSYSTEMS=="pci", PROGRAM="/sbin/biosdevname --smbios 2.6 --nopirq --policy physical -i %k", NAME="%c" OPTIONS+="string_escape=replace"
|
|
|
728caa |
|
|
|
728caa |
LABEL="netdevicename_end"
|