Màj check_conf
This commit is contained in:
parent
a228f5e624
commit
1c576c1356
45
conf/common/etc/profile.d/00_couleurs.sh
Normal file
45
conf/common/etc/profile.d/00_couleurs.sh
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# BSD 3-Clause License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2020-2021, Alban Vidal <alban.vidal@zordhak.fr>
|
||||||
|
# Copyright (c) 2020-2021, Quentin Lejard <q.lejard@valde.fr>
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
# Please see license file on root of this directory
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# !! GIT FILE !!
|
||||||
|
# https://framagit.org/zorval/scripts/check-nrpe
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
NORMAL='\033[00m'
|
||||||
|
GRAS='\033[01m'
|
||||||
|
SSLIGNE='\033[04m'
|
||||||
|
|
||||||
|
ROUGE='\033[31m'
|
||||||
|
LROUGE='\033[91m'
|
||||||
|
|
||||||
|
VERT='\033[32m'
|
||||||
|
LVERT='\033[92m'
|
||||||
|
|
||||||
|
JAUNE='\033[33m'
|
||||||
|
LJAUNE='\033[93m'
|
||||||
|
JAUNE2='\033[38;5;220m'
|
||||||
|
|
||||||
|
BLEU='\033[34m'
|
||||||
|
LBLEU='\033[94m'
|
||||||
|
BLEU2='\033[38;5;69m'
|
||||||
|
|
||||||
|
MAGENTA='\033[35m'
|
||||||
|
LMAGENTA='\033[95m'
|
||||||
|
|
||||||
|
CYAN='\033[36m'
|
||||||
|
LCYAN='\033[96m'
|
||||||
|
|
||||||
|
LGRIS='\033[37m'
|
||||||
|
GRIS='\033[90m'
|
||||||
|
|
||||||
|
ORANGE='\033[38;5;208m'
|
@ -35,7 +35,7 @@ if [ ! -z "$OPTION_1" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
FIC_COLORS=/etc/profile.d/00_fonctions.sh
|
FIC_COLORS=/etc/profile.d/00_couleurs.sh
|
||||||
|
|
||||||
# Récupération des couleurs (NORMAL GRAS SSLIGNE ROUGE VERT BLEU GRIS)
|
# Récupération des couleurs (NORMAL GRAS SSLIGNE ROUGE VERT BLEU GRIS)
|
||||||
if [ "$PRINT_MODE" = true ]; then
|
if [ "$PRINT_MODE" = true ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user