1
0
mirror of https://github.com/PurpleI2P/i2pdbrowser synced 2025-02-06 20:04:19 +00:00
R4SAS fc96232b90 fix screen test #3
Former-commit-id: 93b4584aa90b33bccb2e3779cdb1cf3e0f8329d1
2017-03-23 12:33:41 +03:00

22 lines
470 B
Bash
Executable File

#!/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" ]
screen -Adm -S i2pd ./i2pd-x86_64 --datadir=.
else
screen -Adm -S i2pd ./i2pd-i386 --datadir=.
fi