Created
July 11, 2019 12:53
-
-
Save timofurrer/480837de20bb62f0506cb3e95bf67230 to your computer and use it in GitHub Desktop.
systemd service unit to fake mac address upon boot.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=macchanger | |
Wants=network-pre.target | |
Before=network-pre.target | |
BindsTo=sys-subsystem-net-devices-%i.device | |
After=sys-subsystem-net-devices-%i.device | |
[Service] | |
ExecStart=/usr/bin/macchanger -e %I | |
Type=oneshot | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment