Created
September 12, 2014 11:35
-
-
Save msnoigrs/ada6438f667e9ffbeb98 to your computer and use it in GitHub Desktop.
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=Set %i interface in promiscuous mode | |
After=network.target | |
Before=systemd-networkd.service | |
[Service] | |
Type=oneshot | |
ExecStart=/bin/ip link set dev %i promisc on | |
RemainAfterExit=yes | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment