- more changes from master repo

This commit is contained in:
2023-08-10 07:52:10 +03:00
parent 9e109f0b59
commit 9c0c2fd817
7 changed files with 39 additions and 17 deletions

View File

@@ -4,7 +4,7 @@
INSTALL_DIR=agent_gsm
# Re
GIT_SOURCE=https://deploy:deploy@git.sevana.biz/agent_gsm_redist
GIT_SOURCE=https://git.sevana.biz/public/agent_gsm_redist
# Install prerequisites
sudo apt install git mc python3 sox vim
@@ -19,9 +19,6 @@ git clone $GIT_SOURCE $INSTALL_DIR
# Go to cloned directory
cd $INSTALL_DIR
# Run bootstrap app
./pi_bootstrap_bt.sh
# Update config file
BACKEND_URL=""
PHONE_NAME=""
@@ -50,5 +47,12 @@ ABSOLUTE_INSTALL_DIR=`realpath $INSTALL_DIR`
sed -i "s/ABSOLUTE_INSTALL_DIR/$ABSOLUTE_INSTALL_DIR/" config/systemd/agent_gsm.service
echo Please run $INSTALL_DIR/run_node.sh to see if everything works ok.
echo After you can use $INSTALL_DIR/config/systemd/agent_gsm.service to enable this work with systemD.
echo "Now the remaining prerequisites will be installed and system will reboot."
echo "You can connect the phone via Bluetooth after the reboot."
echo "Use the connect_phone.sh to ease the connection process. This script will ask you about Bluetooth MAC address and make attempt to pair & connect the phone. "
echo "Please run $INSTALL_DIR/run_node.sh to see if everything works ok."
echo "After you can use $INSTALL_DIR/config/systemd/agent_gsm.service to enable this work with systemD."
# Run bootstrap app
./pi_bootstrap_bt.sh