]> err.no Git - systemd/commitdiff
rule_generator: fix wrong DRIVERS!= logic
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 21 Aug 2007 21:05:47 +0000 (23:05 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 21 Aug 2007 21:05:47 +0000 (23:05 +0200)
Thanks to Matthias for identifying that.

extras/rule_generator/75-persistent-net-generator.rules

index cfb13f182b7f3b32f062262bdfad2930592b133e..f88627d384b8f0abd221e1fda9a5accda9c3bdd3 100644 (file)
@@ -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"