Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] Execute udev rule before net.* scripts
Date: Sun, 24 Aug 2014 12:59:42
Message-Id: CAN0CFw2-QPstfPbRWs=W2Z5PtBjKYORpcb2=GR9zFe2sHVthAA@mail.gmail.com
1 I'm trying to define names for my USB network interfaces keyed on the
2 interface location instead of the interface MAC address. This udev
3 rule renames one of them:
4
5 SUBSYSTEM=="net", KERNEL=="enp3s0u1", NAME="net0"
6
7 But it doesn't work automatically at boot, I have to execute 'udevadm
8 trigger --action=add'. How can I execute that before the net.*
9 scripts at boot?
10
11 - Grant

Replies

Subject Author
Re: [gentoo-user] Execute udev rule before net.* scripts Samuli Suominen <ssuominen@g.o>
Re: [gentoo-user] Execute udev rule before net.* scripts Tom H <tomh0665@×××××.com>