mint-config-update.sh aktualisiert
This commit is contained in:
parent
4f09c2cfe0
commit
ede47351ca
@ -5,6 +5,12 @@ then
|
||||
# lockfile for systemd-service
|
||||
trap "rm -f /run/mint-config-update.sh.lock" EXIT
|
||||
echo $$ >/run/mint-config-update.sh.lock
|
||||
if find /var/log/mint-config-update.sh.log -mmin +60 -ls | grep -q /var/log/mint-config-update.sh.log
|
||||
then
|
||||
echo "$0 was running already in the last 60 minutes"
|
||||
rm -f /run/mint-config-update.sh.lock
|
||||
sleep 60
|
||||
fi
|
||||
fi
|
||||
|
||||
# download and run
|
||||
|
Loading…
Reference in New Issue
Block a user