7 lines
182 B
Bash
Executable file
7 lines
182 B
Bash
Executable file
#! /bin/sh
|
|
# 5 retries (6 en tout), quiet.
|
|
if ! fping 138.231.136.2 -r 5 -q;
|
|
then
|
|
echo "irts AUTOTEST failed" | logger -s -p daemon.err -t "/id/netrestart"
|
|
/id/network reload
|
|
fi
|