added start_tribler shell script
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 4 Dec 2009 09:58:14 +0000 (11:58 +0200)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 4 Dec 2009 09:58:49 +0000 (11:58 +0200)
tribler-mod/start_tribler [new file with mode: 0755]

diff --git a/tribler-mod/start_tribler b/tribler-mod/start_tribler
new file mode 100755 (executable)
index 0000000..5bee947
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+if test $# -ne 1; then
+       echo "Usage: $0 torrent_file"
+       exit 1
+fi
+
+# PORT=12345
+
+torrent_file=$1
+PYTHONPATH=. python Tribler/Tools/cmdlinedl.py $torrent_file