~ubuntu-branches/debian/wheezy/wireless-tools/wheezy

« back to all changes in this revision

Viewing changes to debian/patches/add-import-type-to-udev-rules

  • Committer: Package Import Robot
  • Author(s): Guus Sliepen
  • Date: 2011-12-23 16:02:18 UTC
  • Revision ID: package-import@ubuntu.com-20111223160218-k8vwlnnbbndqxfhw
Tags: 30~pre9-8
Add type to IMPORT keyword in ifrename's udev rules file. Closes: #650606

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: add type to IMPORT keyword in ifrename's udev rules file
 
2
Author: Guus Sliepen <guus@debian.org>
 
3
Bug-Debian: http://bugs.debian.org/650606
 
4
 
 
5
--- wireless-tools-30~pre9.orig/19-udev-ifrename.rules
 
6
+++ wireless-tools-30~pre9/19-udev-ifrename.rules
 
7
@@ -5,9 +5,9 @@
 
8
 # when udev runs (i.e. on boot partition).
 
9
 
 
10
 # Enable this rule to test with udevtest.
 
11
-#ENV{UDEV_LOG}=="6", SUBSYSTEM=="net", ACTION=="add", IMPORT="/sbin/ifrename -D -V -u -i %k", NAME:="$env{INTERFACE}"
 
12
+#ENV{UDEV_LOG}=="6", SUBSYSTEM=="net", ACTION=="add", IMPORT{program}="/sbin/ifrename -D -V -u -i %k", NAME:="$env{INTERFACE}"
 
13
 
 
14
 # Main ifrename rule.
 
15
 # If interface is found in /etc/iftab, subsequent rename rules are bypassed.
 
16
 # If interface is not found in /etc/iftab, subsequent rename rules applies.
 
17
-SUBSYSTEM=="net", ACTION=="add", IMPORT="/sbin/ifrename -u -i %k", NAME:="$env{INTERFACE}"
 
18
+SUBSYSTEM=="net", ACTION=="add", IMPORT{program}="/sbin/ifrename -u -i %k", NAME:="$env{INTERFACE}"