summaryrefslogtreecommitdiff
path: root/extras/rule_generator
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-08-21 23:05:47 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-08-21 23:05:47 +0200
commit7d6ffc72163f94ebde5cf63a360c9ac95e103014 (patch)
treec4704dfb9f9a2154de6f98338d50e039c1aa820c /extras/rule_generator
parenta7567d497333f7f845c634d477c01d90b954a570 (diff)
rule_generator: fix wrong DRIVERS!= logic
Thanks to Matthias for identifying that.
Diffstat (limited to 'extras/rule_generator')
-rw-r--r--extras/rule_generator/75-persistent-net-generator.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/rule_generator/75-persistent-net-generator.rules b/extras/rule_generator/75-persistent-net-generator.rules
index cfb13f182b..f88627d384 100644
--- a/extras/rule_generator/75-persistent-net-generator.rules
+++ b/extras/rule_generator/75-persistent-net-generator.rules
@@ -22,12 +22,12 @@ SUBSYSTEMS=="ccwgroup", ENV{COMMENT}="S/390 $driver device at $id", ENV{NETDEV}=
SUBSYSTEMS=="ieee1394", ENV{COMMENT}="Firewire device $attr{host_id})"
ENV{COMMENT}=="", ENV{COMMENT}="$env{SUBSYSTEM} device ($driver)"
-DRIVERS!="?*", ENV{NETDEV}=="?*", IMPORT{program}="write_net_rules --driver $env{NETDRV} --id $env{NETDEV}"
+DRIVERS=="?*", ENV{NETDEV}=="?*", IMPORT{program}="write_net_rules --driver $env{NETDRV} --id $env{NETDEV}"
# skip "locally administered" MAC addresses
ATTR{address}=="?[2367abef]:*", GOTO="persistent_net_generator_end"
-DRIVERS!="?*", ENV{NETDEV}!="?*", IMPORT{program}="write_net_rules $attr{address}"
+DRIVERS=="?*", ENV{NETDEV}!="?*", IMPORT{program}="write_net_rules $attr{address}"
ENV{INTERFACE_NEW}=="?*", NAME="$env{INTERFACE_NEW}"
LABEL="persistent_net_generator_end"