Pin Athena LAN interface by permanent MAC
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
[Match]
|
||||
PermanentMACAddress=58:11:22:BB:AD:0C
|
||||
|
||||
[Link]
|
||||
Name=lan0
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
[ "${IFACE:-}" = "enp7s0" ] || exit 0
|
||||
/usr/sbin/ethtool -s enp7s0 wol g
|
||||
[ "${IFACE:-}" = "lan0" ] || exit 0
|
||||
/usr/sbin/ethtool -s lan0 wol g
|
||||
|
||||
Reference in New Issue
Block a user