You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
474 B
21 lines
474 B
#!/bin/sh |
|
|
|
# Copyright (c) 2013-2017, The PurpleI2P Project |
|
# |
|
# This file is part of Purple i2pd project and licensed under BSD3 |
|
# |
|
# See full license text in LICENSE file at top of project tree |
|
|
|
arch=$(uname -m) |
|
|
|
screenfind=$(which screen) |
|
if [ -z $screenfind ]; then |
|
echo "Can't find 'screen' installed. That script needs it!"; |
|
exit 1; |
|
fi |
|
|
|
if [ $arch = "x86_64" ]; then |
|
screen -Adm -S i2pd ./i2pd-amd64 --datadir=. |
|
else |
|
screen -Adm -S i2pd ./i2pd-i386 --datadir=. |
|
fi
|
|
|