1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
lokinet/lokinet-bootstrap
2018-12-08 14:37:48 +10:00

19 lines
369 B
Bash
Executable file

#!/usr/bin/env bash
# this shell script will be replaced by a proper program in the future (probably)
#
if [ -z "$1" ]
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"