Skip to content

Instantly share code, notes, and snippets.

@gerardo-junior
Created October 5, 2021 03:41
Show Gist options
  • Select an option

  • Save gerardo-junior/bb7eb26591f09ec0b1696e65fd1dfbc7 to your computer and use it in GitHub Desktop.

Select an option

Save gerardo-junior/bb7eb26591f09ec0b1696e65fd1dfbc7 to your computer and use it in GitHub Desktop.

Revisions

  1. gerardo-junior created this gist Oct 5, 2021.
    13 changes: 13 additions & 0 deletions [email protected]
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    [Unit]
    Description=macchanger on %I
    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 -r %I
    Type=oneshot

    [Install]
    WantedBy=multi-user.target