8 lines
180 B
Bash
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
|