From 516f6367fa1ca2d2f6ce69371371cba2291c57ba Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 25 Feb 2025 15:33:13 +0100 Subject: [PATCH] update --- README.md | 6 ++- installation.sh => installation_part1.sh | 44 ---------------- installation_part2.sh | 67 ++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 46 deletions(-) rename installation.sh => installation_part1.sh (79%) mode change 100755 => 100644 create mode 100644 installation_part2.sh diff --git a/README.md b/README.md index b78c328..d9010e9 100755 --- a/README.md +++ b/README.md @@ -6,13 +6,15 @@ Based on the Rpi4 or CM4. # Express -You can download the `installation.sh` and run it: +You can download the `installation_part1.sh` and run it: ``` -wget http://gitea.aircarto.fr/PaulVua/nebuleair_pro_4g/raw/branch/main/installation.sh +wget http://gitea.aircarto.fr/PaulVua/nebuleair_pro_4g/raw/branch/main/installation_part1.sh chmod +x installation.sh sudo ./installation.sh ``` +After reboot you can do the same with part 2. + ## General diff --git a/installation.sh b/installation_part1.sh old mode 100755 new mode 100644 similarity index 79% rename from installation.sh rename to installation_part1.sh index 9231b6d..82c85af --- a/installation.sh +++ b/installation_part1.sh @@ -133,50 +133,6 @@ success "I2C ports enabled." info "Creates sqlites databases..." /usr/bin/python3 /var/www/nebuleair_pro_4g/sqlite/create_db.py -#set up SARA R4 APN -info "Set up Monogoto APN" -/usr/bin/python3 /var/www/nebuleair_pro_4g/SARA/sara_setAPN.py ttyAMA2 data.mono 2 - -#Connect to network -info "Connect SARA R4 to network" -python3 /var/www/nebuleair_pro_4g/SARA/sara_connectNetwork.py ttyAMA2 20810 60 - -#Add master_nebuleair.service -SERVICE_FILE="/etc/systemd/system/master_nebuleair.service" -info "Setting up systemd service for master_nebuleair..." - -# Create the systemd service file (overwrite if necessary) -sudo bash -c "cat > $SERVICE_FILE" < $SERVICE_FILE" <