Skip to content

Commit 3734598

Browse files
committed
Update install.sh
1 parent ac2580d commit 3734598

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

install.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@ if [ $OK -ne 0 ];then
5555
echo "Installation avortée"
5656
exit 1
5757
fi
58+
#test de connection
59+
echo "Test de connection"
60+
cd ${INSTALL}/bin
61+
./ping.py
62+
OK=$?
63+
if [ $OK -eq 0 ];then
64+
echo "Test de connexion OK "
65+
else
66+
echo" Erreur de connexion"
67+
fi
5868
systemctl restart sesame-daemon
5969
echo "Vous pouvez completer le fichier de configuration avec les parametres optionnels (voir README.md)"
6070
echo "Merci "

0 commit comments

Comments
 (0)