From ccf283ba1a1d317cbcd499dd685ccf78c654ffe4 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Sun, 9 Oct 2011 16:44:51 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20du=20blocage=20pour=20d=C3=A9marrage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@413 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- check | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/check b/check index 7c88227..9ecf9c3 100755 --- a/check +++ b/check @@ -22,6 +22,11 @@ if [ $RUNLEVEL -eq 0 ] || [ $RUNLEVEL -eq 6 ]; then exit fi +if [ $RUNLEVEL -eq 1 ]; then + echo "Démarrage en cours : on sort" + exit +fi + if [ -f "/tmp/check-bloque" ]; then # Check est bloque par un programme externe : on sort exit