[systemd-devel] Updating network file during boot
Henti Smith
henti at gaydonsmith.co.uk
Thu Aug 15 12:00:17 UTC 2024
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 at gmail.com> wrote:
> On Thu, Aug 15, 2024 at 2:37 PM Henti Smith <henti at gaydonsmith.co.uk>
> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240815/881cfcb8/attachment.htm>
More information about the systemd-devel
mailing list