diff --git a/boot_hotspot.sh b/boot_hotspot.sh index 4bc85d8..6d814f2 100755 --- a/boot_hotspot.sh +++ b/boot_hotspot.sh @@ -6,7 +6,6 @@ # @reboot /var/www/nebuleair_pro_4g/boot_hotspot.sh >> /var/www/nebuleair_pro_4g/logs/app.log 2>&1 OUTPUT_FILE="/var/www/nebuleair_pro_4g/wifi_list.csv" -JSON_FILE="/var/www/nebuleair_pro_4g/config.json" echo "-------------------" @@ -70,8 +69,6 @@ else # Update SQLite to reflect hotspot mode sqlite3 /var/www/nebuleair_pro_4g/sqlite/sensors.db "UPDATE config_table SET value='connected' WHERE key='WIFI_status'" - sudo chmod 777 "$JSON_FILE" - # Lancer le tunnel SSH #echo "Démarrage du tunnel SSH sur le port $SSH_TUNNEL_PORT..." # Start the SSH agent if it's not already running