18 lines
245 B
Bash
Executable File
18 lines
245 B
Bash
Executable File
#! /bin/bash
|
|
|
|
WAITTIME=60
|
|
|
|
chmod +x /dd/scripts/*
|
|
apt-get update && apt-get install -y iputils-ping
|
|
mkdir -p /dd/logs
|
|
|
|
while true;
|
|
do
|
|
/dd/scripts/file_uptime.sh || exit 404
|
|
|
|
echo ""
|
|
echo "Waiting $WAITTIME seconds"
|
|
|
|
sleep $WAITTIME
|
|
done;
|