-
-
Notifications
You must be signed in to change notification settings - Fork 506
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from Fourdee/Testing
v53
- Loading branch information
Showing
11 changed files
with
353 additions
and
258 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
52 | ||
53 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#! /bin/sh | ||
# /etc/init.d/noip2.sh | ||
|
||
# Supplied by no-ip.com | ||
# Modified for Debian GNU/Linux by Eivind L. Rygge <[email protected]> | ||
# corrected 1-17-2004 by Alex Docauer <[email protected]> | ||
|
||
# . /etc/rc.d/init.d/functions # uncomment/modify for your killproc | ||
|
||
DAEMON=/usr/local/bin/noip2 | ||
NAME=noip2 | ||
|
||
test -x $DAEMON || exit 0 | ||
|
||
case "$1" in | ||
start) | ||
echo -n "Starting dynamic address update: " | ||
start-stop-daemon --start --exec $DAEMON | ||
echo "noip2." | ||
;; | ||
stop) | ||
echo -n "Shutting down dynamic address update:" | ||
start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON | ||
echo "noip2." | ||
;; | ||
|
||
restart) | ||
echo -n "Restarting dynamic address update: " | ||
start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON | ||
start-stop-daemon --start --exec $DAEMON | ||
echo "noip2." | ||
;; | ||
|
||
*) | ||
echo "Usage: $0 {start|stop|restart}" | ||
exit 1 | ||
esac | ||
exit 0 | ||
|
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
File renamed without changes.
Oops, something went wrong.