Created
May 1, 2014 23:03
-
-
Save edudepetris/a9f89fcbd1575426bc15 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
#!/bin/sh | |
#./etc/rc.d/init.d/functions #descomente/modifique para su killproc | |
case "$1" in | |
start) | |
echo "Iniciando noip2..." | |
/usr/local/bin/noip2 | |
;; | |
stop) | |
echo -n "Apagando noip2..." | |
killproc -TERM /usr/local/bin/noip2 | |
;; | |
*) | |
echo "Uso: $0 {start|stop}" | |
exit 1 | |
esac | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment