From daeb71a36a98834664e4d95773a3629b746f4db8 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Mon, 28 Oct 2013 00:19:59 +0100 Subject: udev: link-config - move naming policy from udev rules This introduces a new key NamePolicy, which takes an ordered list of naming policies. The first successful one is applide. If all fail the value of Name (if any) is used. The possible policies are 'onboard', 'slot', 'path' and 'mac'. This patch introduces a default link file, which replaces the equivalent udev rule. --- links/99-default.link | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 links/99-default.link (limited to 'links') diff --git a/links/99-default.link b/links/99-default.link new file mode 100644 index 0000000000..c5043b8570 --- /dev/null +++ b/links/99-default.link @@ -0,0 +1,2 @@ +[Link] +NamePolicy=onboard slot path -- cgit v1.2.3-54-g00ecf