From d3689d21d0776e02c1652a1382b7e6aa6fc61904 Mon Sep 17 00:00:00 2001 From: tenzi Date: Fri, 16 Jan 2026 11:33:40 +0100 Subject: [PATCH] petit modifs --- app.py | 2 +- grabber.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app.py b/app.py index cab5979..4a1d307 100644 --- a/app.py +++ b/app.py @@ -19,4 +19,4 @@ async def receive_info(request: Request): # Debug print("Infos reçues :", data) - return ({"status": "ok"}) \ No newline at end of file + return ({"status": "ok"}) diff --git a/grabber.sh b/grabber.sh index 09c78c3..dd95b83 100755 --- a/grabber.sh +++ b/grabber.sh @@ -93,7 +93,6 @@ json_data=$(jq -n \ } }') -echo $json_data curl -X POST http://localhost:8000/endpoint \ @@ -103,14 +102,14 @@ curl -X POST http://localhost:8000/endpoint \ ######################################## # Affichage du texte de démarrage - +echo " " echo " ++++++++++++++++++++++++++++++++++" echo " + Welcome to Grabber +" echo " ++++++++++++++++++++++++++++++++++" echo " " echo "Hello $USER !" echo ". . ." -echo "Tout les fichiers crées se trouveront dans le dossier /opt/grabber ;)" +echo "Tout les fichiers crées se trouveront dans le dossier /opt/grabber" echo " " #Array File @@ -225,5 +224,6 @@ hardware software echo " " echo "Le fichier summary.txt contient les infos hardware et software du système" -echo "À bientôt ;)" - +echo "À bientôt" +echo " " +echo $json_data