From c678d271750df881ba2d648669fe52b8aeb06bf6 Mon Sep 17 00:00:00 2001 From: "guillaume.emorine" Date: Mon, 29 Apr 2024 08:59:32 +0200 Subject: [PATCH] =?UTF-8?q?=09Modifi=C3=A9=C2=A0:=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20automate.sh=20=09Modifi=C3=A9=C2=A0:=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20sisr1/README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- automate.sh | 4 ++++ sisr1/README.md | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/automate.sh b/automate.sh index 7044277..3a17c06 100644 --- a/automate.sh +++ b/automate.sh @@ -15,9 +15,11 @@ echo "Quelle branche est concernée ? [1 = main, 2 = tests]" read branch if [ $branch == 1 ] ; then if [ $answer == 1 ] ; then + git checkout main echo "Récupération des fichiers à jour, branche main..." git pull origin main else + git checkout main echo "Ajout des fichiers au Gitea..." sleep 2 git add . @@ -30,9 +32,11 @@ if [ $branch == 1 ] ; then fi else if [ $answer == 1 ] ; then + git checkout tests echo "Récupération des fichiers à jour dans la branche tests..." git pull origin tests else + git checkout tests echo "Ajout des fichiers au Gitea, branche tests..." sleep 2 git add . diff --git a/sisr1/README.md b/sisr1/README.md index abaf3f3..14e18a4 100644 --- a/sisr1/README.md +++ b/sisr1/README.md @@ -1,9 +1,17 @@ Chaque dossier porte le numéro du TP associé. + 01: Mise en oeuvre d'une infrastructure DHCP et routage. + 02: Paramétrage d'un serveur DNS. + 03: Création d'un réseau privé à administrer. + 04: Administration d'un réseau privé. + 05: Création d'un partage de fichiers Samba. + 06: Paramétrage d'un serveur proxy. + 07: Firewall avec netfilter et nftables. + 08: Modification d'une infrastructure. \ No newline at end of file