mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-07 15:20:31 +00:00
11 lines
371 B
Bash
Executable File
11 lines
371 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# this shell script will be replaced by a proper program in the future (probably)
|
|
#
|
|
|
|
if [ "X$1" = "X" ] ; then url="https://i2p.rocks/i2procks.signed" ; else url="$1" ; fi
|
|
echo "downloading $url"
|
|
if [ ! -d $HOME/.lokinet/]; then
|
|
mkdir $HOME/.lokinet
|
|
fi
|
|
wget -O $HOME/.lokinet/bootstrap.signed "$url" || echo "failed to download bootstrap from $url"
|