ajout de l'installation dhcp

This commit is contained in:
2025-03-11 10:14:52 +01:00
parent 13866482b9
commit a70dcfb818
4 changed files with 79 additions and 4 deletions

View File

@@ -1,10 +1,10 @@
#!/bin/bash
# Importer les fonctions communes
source "$(dirname "$0")/../common/common_utils.sh"
# Vérifier si le script est exécuté en root
if [[ $EUID -ne 0 ]]; then
echo "Ce script doit être exécuté en tant que root."
exit 1
fi
check_root
### Fonction pour mettre à jour le système
update_system() {