Skip to content

Commit

Permalink
Merge pull request #102 from flatcar/issuegen-if-rename-fix
Browse files Browse the repository at this point in the history
udev: Use $name in issuegen rule
  • Loading branch information
jepio authored Sep 4, 2023
2 parents 6929ace + 41b69d4 commit 235b614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions udev/rules.d/90-issuegen.rules
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ACTION=="add", SUBSYSTEM=="net", ENV{INTERFACE}=="e*", RUN+="/usr/lib/flatcar/issuegen add $env{INTERFACE}"
ACTION=="remove", SUBSYSTEM=="net", ENV{INTERFACE}=="e*", RUN+="/usr/lib/flatcar/issuegen remove $env{INTERFACE}"
ACTION=="add", SUBSYSTEM=="net", ENV{INTERFACE}=="e*", RUN+="/usr/lib/flatcar/issuegen add $name"
ACTION=="remove", SUBSYSTEM=="net", ENV{INTERFACE}=="e*", RUN+="/usr/lib/flatcar/issuegen remove $name"

0 comments on commit 235b614

Please sign in to comment.