summarylogtreecommitdiffstats
path: root/ntorrent.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ntorrent.sh')
-rw-r--r--ntorrent.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/ntorrent.sh b/ntorrent.sh
new file mode 100644
index 00000000000..6761269d88c
--- /dev/null
+++ b/ntorrent.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+CP="."
+for name in /usr/share/java/ntorrent/*.jar ; do
+ CP="$CP:$name"
+done
+
+cd /usr/share/ntorrent
+java -cp "$CP" org.java.plugin.boot.Boot "$@"