summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorRichard Narron <richard@aaazen.com>2021-02-19 22:25:13 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-02-21 00:05:03 +0700
commitba75814fbff4c884370fd6697717408f519c46a8 (patch)
treea693456d12b927bd93313553f978a790532a79ac /network
parent29a51655d565c575d5f79bfa0993e2b16c582be8 (diff)
downloadslackbuilds-ba75814fbff4c884370fd6697717408f519c46a8.tar.gz
network/ddclient: Fix rc init script.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/ddclient/ddclient.SlackBuild2
-rw-r--r--network/ddclient/rc.ddclient4
2 files changed, 3 insertions, 3 deletions
diff --git a/network/ddclient/ddclient.SlackBuild b/network/ddclient/ddclient.SlackBuild
index 5847c0f6ab..ac6d3a1692 100644
--- a/network/ddclient/ddclient.SlackBuild
+++ b/network/ddclient/ddclient.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=ddclient
VERSION=${VERSION:-3.9.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch # it's only a perl script
diff --git a/network/ddclient/rc.ddclient b/network/ddclient/rc.ddclient
index 1601cc6b5a..daac891d53 100644
--- a/network/ddclient/rc.ddclient
+++ b/network/ddclient/rc.ddclient
@@ -21,8 +21,8 @@ case "$1" in
echo
;;
restart)
- $0 stop
- $0 start
+ sh $0 stop
+ sh $0 start
;;
status)
pids=$(pgrep ddclient)