Lines 27-37
Link Here
|
27 |
# nice level, 0<x<19, more nice -> less cpuspeed consumed |
27 |
# nice level, 0<x<19, more nice -> less cpuspeed consumed |
28 |
NICE="19" |
28 |
NICE="19" |
29 |
|
29 |
|
|
|
30 |
# timeout for communication via web/telnet |
31 |
TIMEOUT=10 |
32 |
|
30 |
# mldonkey server ip, usually localhost |
33 |
# mldonkey server ip, usually localhost |
31 |
SERVER="localhost" |
34 |
SERVER=127.0.0.1 |
|
|
35 |
|
36 |
## for sending shutdown signal via web interface |
37 |
WEB_PORT=4080 |
32 |
|
38 |
|
33 |
# port for webinterface, usually 4080 |
39 |
## for sending shutdown signal via ncat |
34 |
PORT="4080" |
40 |
# TELNET_CMD="ncat \ |
|
|
41 |
# --idle-timeout $(( ${TIMEOUT:-10} * 1000 )) \ |
42 |
# --wait $(( ${TIMEOUT:-10} * 1000 )) \ |
43 |
# ${SERVER} 4000" |
35 |
|
44 |
|
36 |
# to enable password restricted access, |
45 |
# to enable password restricted access, |
37 |
# uncomment and set BOTH following vars: |
46 |
# uncomment and set BOTH following vars: |