This commit is contained in:
PaulVua
2025-01-12 16:14:22 +01:00
parent 73e6883cf5
commit e0fbdef138
2 changed files with 3 additions and 1 deletions

View File

@@ -48,6 +48,8 @@ else
#update config JSON file
jq --arg status "connected" '.WIFI_status = $status' "$JSON_FILE" > temp.json && mv temp.json "$JSON_FILE"
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