We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac9efff commit a84c0aeCopy full SHA for a84c0ae
.assets/theme_billing.sh
@@ -0,0 +1,20 @@
1
+#!/bin/bash
2
+
3
+# Définir les couleurs
4
+GREEN=$(tput setaf 2)
5
+RED=$(tput setaf 1)
6
+BLUE=$(tput setaf 4)
7
+VIOLET=$(tput setaf 5)
8
+BOLD=$(tput bold)
9
+RESET=$(tput sgr0)
10
+########################################## INITIALISATION ROOT ##########################################
11
12
+# Vérifier si l'utilisateur est root
13
+if [[ $EUID -ne 0 ]]; then
14
+ echo "${RED}${BOLD}Ce script doit être exécuté en tant que root${RESET}"
15
+ # Demander le mot de passe
16
+ sudo "$0" "$@"
17
+ exit 1
18
+fi
19
20
+# Le reste du script ici
0 commit comments