aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/systemd/udev
diff options
context:
space:
mode:
authorJoerg Hofrichter <joerg.hofrichter@ni.com>2020-05-13 21:20:04 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2020-07-16 10:00:12 -0500
commit58601da0389035dbb0a109a516da214f9877c0fc (patch)
tree3e42e4b7cdbe8fa7ed91caea98436003ed10ac92 /mpm/systemd/udev
parent2dd09111cfb237b4cc679e93d0391a50fb2df2d0 (diff)
downloaduhd-58601da0389035dbb0a109a516da214f9877c0fc.tar.gz
uhd-58601da0389035dbb0a109a516da214f9877c0fc.tar.bz2
uhd-58601da0389035dbb0a109a516da214f9877c0fc.zip
mpm: systemd: added systemd configuration files for network
Added files which were previously maintained in meta-ettus repository but which are better placed alongside MPM itself: - eth0/int0/sfp0/sfp1.network: network configuration files - 70-sfp-net.rules: udev rule for automatically naming the network interfaces Signed-off-by: Joerg Hofrichter <joerg.hofrichter@ni.com>
Diffstat (limited to 'mpm/systemd/udev')
-rw-r--r--mpm/systemd/udev/70-sfp-net.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/mpm/systemd/udev/70-sfp-net.rules b/mpm/systemd/udev/70-sfp-net.rules
new file mode 100644
index 000000000..3015dfdef
--- /dev/null
+++ b/mpm/systemd/udev/70-sfp-net.rules
@@ -0,0 +1,3 @@
+SUBSYSTEM=="net", KERNELS=="40000000.ethernet", NAME="sfp0"
+SUBSYSTEM=="net", KERNELS=="40008000.ethernet", NAME="sfp1"
+SUBSYSTEM=="net", KERNELS=="40020000.ethernet", NAME="int0"