#!/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