add type to IMPORT keyword in ifrename's udev rules file
Bug-Debian: http://bugs.debian.org/650606 Gbp-Pq: Name add-import-type-to-udev-rules
This commit is contained in:
parent
c55759f1cd
commit
b35521a511
|
@ -5,9 +5,9 @@
|
|||
# when udev runs (i.e. on boot partition).
|
||||
|
||||
# Enable this rule to test with udevtest.
|
||||
#ENV{UDEV_LOG}=="6", SUBSYSTEM=="net", ACTION=="add", IMPORT="/sbin/ifrename -D -V -u -i %k", NAME:="$env{INTERFACE}"
|
||||
#ENV{UDEV_LOG}=="6", SUBSYSTEM=="net", ACTION=="add", IMPORT{program}="/sbin/ifrename -D -V -u -i %k", NAME:="$env{INTERFACE}"
|
||||
|
||||
# Main ifrename rule.
|
||||
# If interface is found in /etc/iftab, subsequent rename rules are bypassed.
|
||||
# If interface is not found in /etc/iftab, subsequent rename rules applies.
|
||||
SUBSYSTEM=="net", ACTION=="add", IMPORT="/sbin/ifrename -u -i %k", NAME:="$env{INTERFACE}"
|
||||
SUBSYSTEM=="net", ACTION=="add", IMPORT{program}="/sbin/ifrename -u -i %k", NAME:="$env{INTERFACE}"
|
||||
|
|
Loading…
Reference in New Issue