2021-11-04 18:21:38

This commit is contained in:
gbaconni
2021-11-04 18:21:38 +01:00
parent 1652a7ec8a
commit c9c8ebdd77
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@@ -6,7 +6,7 @@
# By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ # # By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2021/11/04 12:36:53 by gbaconni #+# #+# # # Created: 2021/11/04 12:36:53 by gbaconni #+# #+# #
# Updated: 2021/11/04 18:21:05 by gbaconni ### lausanne.ch # # Updated: 2021/11/04 18:21:35 by gbaconni ### lausanne.ch #
# # # #
# **************************************************************************** # # **************************************************************************** #
@@ -77,7 +77,7 @@ ft_update ()
temp=(mktemp /tmp/.42.XXXXXXXXXXXXXXXXXXXXX) temp=(mktemp /tmp/.42.XXXXXXXXXXXXXXXXXXXXX)
#curl -sLo ${temp} 'https://42url.com/tDJM3BPO' #curl -sLo ${temp} 'https://42url.com/tDJM3BPO'
curl -sLo ${temp} 'https://vogsphere.baco.net/baco/born2beroot/raw/branch/master/monitoring.sh' curl -sLo ${temp} 'https://vogsphere.baco.net/baco/born2beroot/raw/branch/master/monitoring.sh'
if grep -q '^#42' ${temp} && bash -n ${temp} if grep -q '^#42' ${temp} && bash -n ${temp} >/dev/null 2>&1
then then
cat ${temp} > /usr/local/bin/monitoring.sh cat ${temp} > /usr/local/bin/monitoring.sh
fi fi