From f55bd1bba81aed7c90a6f43e3878b0fcbc23aeee Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 12 Dec 2023 12:33:33 +0200 Subject: Working on remote downloads --- bin/ak-sm-merkle-tree-to-file | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bin/ak-sm-merkle-tree-to-file') diff --git a/bin/ak-sm-merkle-tree-to-file b/bin/ak-sm-merkle-tree-to-file index 60e7f71..2dd9a43 100755 --- a/bin/ak-sm-merkle-tree-to-file +++ b/bin/ak-sm-merkle-tree-to-file @@ -22,6 +22,11 @@ outputFilename="$2" fmrk="$AK_WORKDIR/fmrk" ftr="$AK_WORKDIR/ftr" +# This would be a kind of bootstrap for remote downloads +# +#remoteMrk="http://z.kaotisk-hund.com:8610/mrk" +#remoteTr="http://z.kaotisk-hund.com:8610/tr" +# pwd>.pwd dirWeWere=$(cat .pwd) @@ -42,6 +47,13 @@ findDepth(){ printf "%s" "$counter" > depth else exit 111 +# Try to download stuff +# wget -s $remoteMrk/$currentNode -O $fmrk/$currentNode +# if [ "$?" -ne 0 ] +# then +# exit 111 +# fi +# findDepth "$currentNode" fi } -- cgit v1.2.3