summaryrefslogtreecommitdiffstats
path: root/ship/src/filehooker_configure_netshare
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2014-03-16 15:01:22 +0100
committermakefu <root@pigstarter.de>2014-03-16 15:01:22 +0100
commitc503a92fd711a73762a44ea08cf10438ed03fa55 (patch)
treecc9c5f345ad2497563cc9f1b5552d7e09e2c9276 /ship/src/filehooker_configure_netshare
parentd40950a555d594365307fca7a5a23a360a15645c (diff)
parente2cf4fc92569487e21d096ac6879177aac8f73c1 (diff)
filehooker: add tor_announce
Diffstat (limited to 'ship/src/filehooker_configure_netshare')
-rw-r--r--ship/src/filehooker_configure_netshare5
1 files changed, 3 insertions, 2 deletions
diff --git a/ship/src/filehooker_configure_netshare b/ship/src/filehooker_configure_netshare
index ffd53e08..438ac133 100644
--- a/ship/src/filehooker_configure_netshare
+++ b/ship/src/filehooker_configure_netshare
@@ -2,5 +2,6 @@
#@info
#@strict
#@include filehooker
-
-ncdc_configure_netshare "${1?provide share folder}"
+for i in $(prepare_netshares) ;do
+ ncdc_configure_netshare "$i" "${i##*/}"
+done