summaryrefslogtreecommitdiff
path: root/net/ddclient/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/ddclient/files')
-rw-r--r--net/ddclient/files/ddclient.sh.sample19
-rw-r--r--net/ddclient/files/patch-aa29
2 files changed, 0 insertions, 48 deletions
diff --git a/net/ddclient/files/ddclient.sh.sample b/net/ddclient/files/ddclient.sh.sample
deleted file mode 100644
index 76b25b345f07..000000000000
--- a/net/ddclient/files/ddclient.sh.sample
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-case "$1" in
- start)
- if [ -x %%PREFIX%%/sbin/ddclient ]; then
- %%PREFIX%%/sbin/ddclient -daemon 300 && echo -n ' ddclient'
- fi
- ;;
- stop)
- /usr/bin/killall ddclient
- echo -n ' ddclient'
- ;;
- *)
- echo ""
- echo "Usage: `basename $0` { start | stop }"
- echo ""
- exit 64
- ;;
-esac
diff --git a/net/ddclient/files/patch-aa b/net/ddclient/files/patch-aa
deleted file mode 100644
index b056bf8db657..000000000000
--- a/net/ddclient/files/patch-aa
+++ /dev/null
@@ -1,29 +0,0 @@
---- ddclient.orig Sat Aug 25 17:17:28 2001
-+++ ddclient Sun Aug 26 19:52:01 2001
-@@ -1,5 +1,4 @@
--#!/usr/bin/perl -w
--#!/usr/local/bin/perl -w
-+#!%%PERL%% -w
- ######################################################################
- # $Header: /home/paul/src/ddclient/RCS/ddclient,v 3.5 2001/08/25 14:22:00 root Exp $
- #
-@@ -20,8 +19,8 @@
- $program =~ s/d$//;
- my $now = time;
- my $hostname = hostname();
--my $etc = ($program =~ /test/i) ? './' : '/etc/';
--my $savedir = ($program =~ /test/i) ? 'URL/' : '/tmp/';
-+my $etc = '%%PREFIX%%/etc/';
-+my $savedir = (exists($ENV{TMPDIR}) ? "$ENV{TMPDIR}/" : "/var/tmp/");
- my $msgs = '';
- my $last_msgs = '';
-
-@@ -29,7 +28,7 @@
- local $file = '';
- local $lineno = '';
-
--$ENV{'PATH'} = (exists($ENV{PATH}) ? "$ENV{PATH}:" : "") . "/sbin:/usr/sbin:/bin:/usr/bin:/etc:/usr/lib:";
-+$ENV{'PATH'} = (exists($ENV{PATH}) ? "$ENV{PATH}:" : "") . "/sbin:/usr/sbin:/bin:/usr/bin";
-
- sub T_ANY {'any'};
- sub T_STRING {'string'};