1
0
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Lakka-rk322x/packages/sysutils/ethmactool/system.d/ethmactool-config.service
kszaq f6dd0660bd ethmactool: new package for getting HW MAC address or generating from CPU SN
Ethernet MAC address should be passed by u-boot in device tree. In
many cases this address is not correct: ethmactool package allows
userspace to take care of it.

Currently these are possible sources of "real" MAC:
 - Amlogic: cmdline, eFuse, CPU SN
 - Rockchip: CPU SN
2019-05-05 21:22:21 +02:00

14 lines
283 B
Desktop File

[Unit]
Description=Configure eth0 MAC address
BindsTo=sys-subsystem-net-devices-eth0.device
After=sys-subsystem-net-devices-eth0.device
Before=connman.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/ethmactool-config eth0
[Install]
WantedBy=multi-user.target