build: link nums only when BT is enabled (ref #27)
[mldonkey.git] / distrib / mldonkey_command
blobc64c922c6879d7c5bcad434b35a7d2c3779c043e
1 #!/bin/sh
3 # To run this program, you need the nc (netcat) program
5 MLDONKEY_IP=127.0.0.1
6 MLDONKEY_TELNET_PORT=4000
8 if [ $1 = "--auth" ] ; then
9 auth="auth $2"
10 shift 2
11 else
12 auth=""
15 nc $MLDONKEY_IP $MLDONKEY_TELNET_PORT <<EOF
16 $auth
19 EOF