mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
13 lines
No EOL
333 B
Desktop File
13 lines
No EOL
333 B
Desktop File
[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 |