update
This commit is contained in:
@@ -27,7 +27,7 @@ sudo apt update && sudo apt install -y git gh apache2 sqlite3 php php-sqlite3 py
|
|||||||
|
|
||||||
# Install Python libraries
|
# Install Python libraries
|
||||||
info "Installing Python libraries..."
|
info "Installing Python libraries..."
|
||||||
sudo pip3 install pyserial requests RPi.GPIO adafruit-circuitpython-bme280 crcmod psutil ntplib pytz --break-system-packages || error "Failed to install Python libraries."
|
sudo pip3 install pyserial requests RPi.GPIO adafruit-circuitpython-bme280 crcmod psutil gpiozero ntplib pytz --break-system-packages || error "Failed to install Python libraries."
|
||||||
|
|
||||||
# Ask user if they want to set up SSH keys
|
# Ask user if they want to set up SSH keys
|
||||||
read -p "Do you want to set up an SSH key for /var/www? (y/n): " answer
|
read -p "Do you want to set up an SSH key for /var/www? (y/n): " answer
|
||||||
|
|||||||
@@ -232,7 +232,7 @@ device_latitude_raw = config.get('latitude_raw', 0)
|
|||||||
device_longitude_raw = config.get('longitude_raw', 0)
|
device_longitude_raw = config.get('longitude_raw', 0)
|
||||||
modem_version=config.get('modem_version', "")
|
modem_version=config.get('modem_version', "")
|
||||||
Sara_baudrate = config.get('SaraR4_baudrate', 115200)
|
Sara_baudrate = config.get('SaraR4_baudrate', 115200)
|
||||||
npm_5channel = config.get('NextPM_5channels', False) #5 canaux du NPM
|
npm_5channel = config.get('npm_5channel', False) #5 canaux du NPM
|
||||||
selected_networkID = int(config.get('SARA_R4_neworkID', 0))
|
selected_networkID = int(config.get('SARA_R4_neworkID', 0))
|
||||||
send_uSpot = config.get('send_uSpot', False) #envoi sur MicroSpot ()
|
send_uSpot = config.get('send_uSpot', False) #envoi sur MicroSpot ()
|
||||||
reset_uSpot_url = False
|
reset_uSpot_url = False
|
||||||
|
|||||||
Reference in New Issue
Block a user