From 2ee470e493ca204ecf19a605f06facf2bd95f153 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 11 Jul 2015 11:08:54 +0100 Subject: [PATCH] Detect binary --- src/freedombone | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/freedombone b/src/freedombone index d425547b..d268498a 100755 --- a/src/freedombone +++ b/src/freedombone @@ -7537,6 +7537,11 @@ function install_tox_node { fi make install + if [ ! -f /usr/local/bin/tox-bootstrapd ]; then + echo "File not found /usr/local/bin/tox-bootstrapd" + exit 73862 + fi + useradd --home-dir /var/lib/tox-bootstrapd --create-home --system --shell /sbin/nologin --comment "Account to run Tox's DHT bootstrap daemon" --user-group tox-bootstrapd chmod 700 /var/lib/tox-bootstrapd if [ ! -f $INSTALL_DIR/toxcore/other/bootstrap_daemon/tox-bootstrapd.conf ]; then