diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-06-02 16:47:02 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-06-02 16:47:02 +0000 |
commit | 10e6e5dae221d5337bc416a057f134752e26b88d (patch) | |
tree | 10893ecfff3959e4e352f8efd99c4b20b3ec9e16 /misc/dnetc/files | |
parent | - Update to 341 (diff) |
- Give maintainership to submitter
- Turn into master slave to allow slaves of different architectures
- Remove user/group on deinstall
- Install rc script as .sample
- Various tweaks
PR: ports/67463
Submitted by: Tim Bishop <tim@bishnet.net>
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 |