Created
July 16, 2013 13:21
-
-
Save awidegreen/6008629 to your computer and use it in GitHub Desktop.
systemd service for promiscuous mode. On archlinux, store it under /etc/systemd/system/[email protected]
enable it with: systemctl enable [email protected]
Difference between file from archwiki: add "After" and changed path from "/usr/sbin/ip" to "/usr/bin/ip" since every executable is now located there
This file contains 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 | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/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