This commit is contained in:
Your Name
2025-02-25 15:41:17 +01:00
parent 516f6367fa
commit e0d7614ad8
3 changed files with 15 additions and 4 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/bash
# Script to set up the App after rebooting
# Exit on error, unset variable usage, and error in a pipeline
set -euo pipefail
@@ -21,6 +23,9 @@ if [[ "$EUID" -ne 0 ]]; then
error "This script must be run as root. Use 'sudo ./installation.sh'"
fi
#set up the RTC
info "Set up the RTC"
/usr/bin/python3 /var/www/nebuleair_pro_4g/RTC/set_with_NTP.py
#set up SARA R4 APN
info "Set up Monogoto APN"