diff options
Diffstat (limited to 'net/mldonkey')
-rw-r--r-- | net/mldonkey/files/mldonkey.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net/mldonkey/files/mldonkey.sh b/net/mldonkey/files/mldonkey.sh new file mode 100644 index 00000000000..f3368abdce1 --- /dev/null +++ b/net/mldonkey/files/mldonkey.sh @@ -0,0 +1,16 @@ +#!/bin/sh +# +# $NetBSD: mldonkey.sh,v 1.1.1.1 2003/03/31 15:55:36 jmmv Exp $ +# +# pkgsrc script to ease mldonkey's startup. +# + +if [ ! -d $HOME/mldonkey ]; then + echo "Creating user's directory ($HOME/mldonkey)..." + mkdir $HOME/mldonkey +fi + +echo "Starting mldonkey..." +cd $HOME/mldonkey +PATH=@PREFIX@/libexec/mldonkey:$PATH +@PREFIX@/libexec/mldonkey/mldonkey > $HOME/mldonkey/log 2>&1 |