
| Current Path : /var/mail/etc/cron.weekly/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/mail/etc/cron.weekly/update-notifier-common |
#!/bin/sh
set -e
[ -x /usr/lib/ubuntu-release-upgrader/release-upgrade-motd ] || exit 0
sleep_then_check() {
# Sleep for up to an hour to spread the load of checking for updates on
# the Ubuntu infrastructure
sleep $(shuf -i 1-3600 -n 1)
# Check to see whether there is a new version of Ubuntu available
/usr/lib/ubuntu-release-upgrader/release-upgrade-motd
}
sleep_then_check &