17 lines
544 B
Diff
17 lines
544 B
Diff
|
Index: systemd-210/src/udev/rule_generator/write_net_rules
|
||
|
===================================================================
|
||
|
--- systemd-210.orig/src/udev/rule_generator/write_net_rules
|
||
|
+++ systemd-210/src/udev/rule_generator/write_net_rules
|
||
|
@@ -101,6 +101,11 @@ if [ "$MATCHDEVID" ]; then
|
||
|
fi
|
||
|
|
||
|
if [ "$MATCHID" ]; then
|
||
|
+ ID="$(find_all_rules 'KERNELS==' "$MATCHID")"
|
||
|
+ if [ "$ID" == "$MATCHID" ]; then
|
||
|
+ unlock_rules_file
|
||
|
+ exit 0
|
||
|
+ fi
|
||
|
match="$match, KERNELS==\"$MATCHID\""
|
||
|
fi
|
||
|
|