summarylogtreecommitdiffstats
path: root/ntorrent.sh
diff options
context:
space:
mode:
authorCentzilius2015-06-08 18:19:42 +0200
committerCentzilius2015-06-08 18:19:42 +0200
commit045dfdc923264dc2463293f052e87b1543a25e0e (patch)
tree72f3859a1ccb4df7814cd599ea9eb01848732716 /ntorrent.sh
downloadaur-045dfdc923264dc2463293f052e87b1543a25e0e.tar.gz
Initial import
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 "$@"