summaryrefslogtreecommitdiff
path: root/biosdevname.rules.in
blob: a3be69c5281c0a01d1f6a6aae2d8e02987efc70d (plain)
1
2
3
4
5
6
7
8
9
SUBSYSTEM!="net", GOTO="netdevicename_end"
KERNEL!="eth*",   GOTO="netdevicename_end"
ACTION!="add",    GOTO="netdevicename_end"

# using NAME= instead of setting INTERFACE_NAME, so that persistent
# names aren't generated for these devices, they are "named" on each boot.
PROGRAM="/sbin/biosdevname --policy physical -i %k", NAME="%c",  OPTIONS+="string_escape=replace"

LABEL="netdevicename_end"