aboutsummaryrefslogtreecommitdiff
path: root/netcfg/ifrename
blob: 08909fa4373c50fa3658f5ac99a22905205b01a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#
# Interface renaming rules
#
# Format: NAME,MAC,NEWNAME
#
# NAME and MAC are shell glob patterns. Both must match for a rule to apply.
# The first matching rule is chosen (top to bottom).
#
# Interfaces with the same NEWNAME are sorted by MAC and have a running
# index appended to their new name.
#
# Example: rename all ethernet interfaces to "port<X>"
# eth*,*,port