2016-01-03 15:33:56 +01:00
|
|
|
#! @bash@/bin/bash
|
|
|
|
|
|
|
|
PATH=@coreutils@/bin:$PATH
|
2015-10-25 06:34:58 +01:00
|
|
|
|
|
|
|
export FREENET_HOME="$HOME/.local/share/freenet"
|
|
|
|
if [ -n "$XDG_DATA_HOME" ]
|
|
|
|
then export FREENET_HOME="$XDG_DATA_HOME/freenet"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -d $FREENET_HOME ]; then
|
|
|
|
mkdir -p $FREENET_HOME
|
|
|
|
fi
|
|
|
|
|
2016-01-03 15:33:56 +01:00
|
|
|
cp -u @seednodes@ $FREENET_HOME/seednodes.fref
|
2015-10-25 06:34:58 +01:00
|
|
|
chmod u+rw $FREENET_HOME/seednodes.fref
|
|
|
|
|
|
|
|
cd $FREENET_HOME
|
2016-08-20 18:17:13 +02:00
|
|
|
@jre@/bin/java -cp @freenet@/share/freenet/bcprov-@bcprov_version@.jar:@freenet@/share/freenet/freenet-ext.jar:@freenet@/share/freenet/freenet.jar -Xmx1024M freenet.node.NodeStarter
|