Update .profile

This commit is contained in:
jfontaine35 2023-02-02 10:37:52 +01:00 committed by GitHub
parent 28c9ea7a20
commit af6320535c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ echo "Bienvenue sur : $(hostname -f) ($(hostname -I)) !"
echo "******************************************************"
echo "Note: Toutes actions sur ce serveur sont enregistrees."
echo "------------------------------------------------------"
echo -e "Date d'installation : $(stat / | grep "Birth" | sed 's/Birth: //g' | cut -b 2-11)"
ping -c 1 "$host1" > /dev/null 2>&1
if [ $? -ne 0 ]; then