crans_bcfg2/Probes/rescue
Jeremie Dimino a156282d36 Correction d'erreurs.
darcs-hash:20071210130549-af139-0584b5175423fc37457c4b6b9ae35aca2badd449.gz
2007-12-10 14:05:49 +01:00

8 lines
180 B
Bash

#!/bin/bash
rescue_file=/usr/scripts/secours/etat_$(hostname -s)
if [ -f $rescue_file ]; then
if [ "$(< $rescue_file)" = "secours" ]; then
echo "group:rescue-mode"
fi
fi