Re: Updating network file during boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This does not seem to work, and reading the man page, "Path" matches against the udev property ID_PATH, which in this case is will be the changing addresses for example "pci-0000:05:00.0"

I'll play some more and see what other options I have.

Kind regards
Henti


On Thu, 15 Aug 2024 at 12:46, Andrei Borzenkov <arvidjaar@xxxxxxxxx> wrote:
On Thu, Aug 15, 2024 at 2:37 PM Henti Smith <henti@xxxxxxxxxxxxxxxxx> wrote:
>
>
> They do stay the same:
>
> Without the Board:
> DEVPATH=/devices/pci0000:00/0000:00:10.0/0000:04:00.0/net/eno2
> DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:05:00.0/net/mvc-sw1
>
> With the Board:
> DEVPATH=/devices/pci0000:00/0000:00:10.0/0000:05:00.0/net/mvc-sw2
> DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:06:00.0/net/enp6s0
>
> I'm assuming I can use this to match using glob ?
>
> If so, do I use the existing Path= or do I switch to DEVPATH ?
>

I have not tried it myself, but according to the manual page Path should do.

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux