blob: 2ca8f07678d44870f030d8d7030b117a152d5f8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
C=1
RED=$(curl -Ls -o /dev/null -w %{url_effective} http://uddataplus.dk)
echo "$C $RED"
COM="https://www.uddata.dk/uddataplus-nede/"
while [ "$RED" == "$COM" ]
do
C=$((C+1))
RED=$(curl -Ls -o /dev/null -w %{url_effective} http://uddataplus.dk)
echo "$C $RED"
sleep 30
done
notify-send 'Yo!' 'Uddata virker måske igen' --icon=dialog-information
|