mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
13 lines
333 B
SYSTEMD
13 lines
333 B
SYSTEMD
|
[Unit]
|
||
|
Description=MAC address change %I
|
||
|
Before=dhcpcd@%i.service netctl@%1.service netctl-ifplugd@%i.service netctl-auto@%i.service
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
EnvironmentFile=/etc/conf.d/macspoof
|
||
|
ExecStart=/usr/bin/ip link set dev %i down
|
||
|
ExecStart=/usr/bin/ip link set dev %i address ${mac_addr_%i}
|
||
|
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=network.target
|