Created
December 5, 2016 01:50
-
-
Save uprush/fb3bf5c48bd6e6344cbd49b402663398 to your computer and use it in GitHub Desktop.
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
# Save below scripts as stopeth.sh | |
#!/bin/sh | |
ip link set eth0 down | |
sleep 60 | |
ip link set eth0 up | |
# Execute the script | |
$ sudo nohup ./stopeth.sh & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment