diff options
Diffstat (limited to 'misc/dnetc/files')
-rw-r--r-- | misc/dnetc/files/INFO | 5 | ||||
-rw-r--r-- | misc/dnetc/files/dnetc.sh | 7 |
2 files changed, 4 insertions, 8 deletions
diff --git a/misc/dnetc/files/INFO b/misc/dnetc/files/INFO index 710531c5da85..705cea1f1467 100644 --- a/misc/dnetc/files/INFO +++ b/misc/dnetc/files/INFO @@ -15,8 +15,3 @@ For your statistics, check out: For general help with the client or distributed.net, mail: help@distributed.net - -For specific information regarding this port/package, mail: - dbaker@distributed.net or dbaker@cuckoo.com - -http://www.distributed.net/cgi-bin/dnet-finger.cgi?user=dbaker diff --git a/misc/dnetc/files/dnetc.sh b/misc/dnetc/files/dnetc.sh index 919e6f4c71c9..ed7c39e4fe6f 100644 --- a/misc/dnetc/files/dnetc.sh +++ b/misc/dnetc/files/dnetc.sh @@ -1,6 +1,7 @@ #!/bin/sh -dir="CHANGETHIS" +dir="%%BINDIR%%" +user="%%CLIENTUSER%%" case "$1" in start) @@ -26,10 +27,10 @@ start) fi echo -n " dnetc" - su -m dnetc -c "$dir/dnetc -quiet" 2>/dev/null >/dev/null & + su -m $user -c "$dir/dnetc -quiet" 2>/dev/null >/dev/null & ;; stop) - killall dnetc && echo -n " dnetc" + killall -u $user dnetc && echo -n " dnetc" ;; *) echo "Usage: `basename $0` {start|stop}" >&2 |