Skip to content

Commit

Permalink
udev: Import 60-net.rules from initscripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Mar 23, 2022
1 parent cf7dc8d commit 92c576a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust-ifcfg-devname.spec
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ License: GPLv3 and MIT
%files -n %{crate}
%license LICENSE
%doc README.md

%{_bindir}/ifcfg-devname
%{_udevrulesdir}/*

%package devel
Summary: %{summary}
Expand Down
1 change: 1 addition & 0 deletions udev/rules.d/60-net.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", ATTR{type}=="1", PROGRAM="/usr/bin/ifcfg-devname", RESULT=="?*", NAME="$result"

0 comments on commit 92c576a

Please sign in to comment.