Last active
August 29, 2015 14:05
-
-
Save a-nldisr/a1230ac30dc74c1c3707 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
case "$1" in | |
down) | |
/bin/echo "Bringing interface down" | |
/usr/sbin/ifdown eth0 | |
;; | |
up) | |
/bin/echo "Bringing interface up" | |
/usr/sbin/ifup eth0 | |
;; | |
update) | |
/bin/echo "And this is an Update" | |
/usr/sbin/ifdown eth0 | |
/usr/sbin/ifup eth0 | |
;; | |
*) | |
/bin/echo moooooooo | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment