aboutsummaryrefslogtreecommitdiff
path: root/net/mldonkey-src/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/mldonkey-src/files')
-rw-r--r--net/mldonkey-src/files/kill_mldonkey23
-rw-r--r--net/mldonkey-src/files/wrapper.sh18
2 files changed, 0 insertions, 41 deletions
diff --git a/net/mldonkey-src/files/kill_mldonkey b/net/mldonkey-src/files/kill_mldonkey
deleted file mode 100644
index 2c4f923c3516..000000000000
--- a/net/mldonkey-src/files/kill_mldonkey
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-#
-# Add Username and password here
-# like this:
-#
-HTTPUSER="you"
-HTTPPASS="yourpassword"
-
-# Add location and port of mldonkey core
-HTTPURL="127.0.0.1:4080"
-
-# internal configuration
-HTTP_COMMAND="/usr/bin/fetch"
-HTTP_COMMAND_ARGS="-1 -q -s"
-
-if [ -n "${HTTPUSER} -a -n "${HTTPPASS}" ]
-then
- export HTTP_AUTH=basic:*:${HTTPUSER}:${HTTPPASS}
-fi
-
-${HTTP_COMMAND} ${HTTP_COMMAND_ARGS} "http://${HTTPURL}/submit?q=kill"
-
diff --git a/net/mldonkey-src/files/wrapper.sh b/net/mldonkey-src/files/wrapper.sh
deleted file mode 100644
index c25fd62bc133..000000000000
--- a/net/mldonkey-src/files/wrapper.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-PREFIX="%%PREFIX%%/bin"
-PROGRAM="${0}"
-DIRNAME=${HOME}/.mldonkey
-
-if [ ! -d ${DIRNAME} ]
-then
- mkdir -p ${DIRNAME}
-fi
-
-echo " ${*} " | grep " \-createdironly " ||
-{
- cd ${DIRNAME} &&
- echo Running under ${DIRNAME} &&
- exec ${PREFIX}/${PROGRAM##*/}-real "${@}" ||
- echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again
-}