The Hidden Blog

As it turns out, I do have a hostname.

Push(over) notifications for Gentoo updates

Published on December 6, 2014

This shell script will send you a push notification if there are new Gentoo updates available. It’s based on ftf’s Ruby script for Prowl.

Application Token

To get the Application token just create a new application on the Pushover website: https://pushover.net/apps/build.

User Token

The “User Key” is displayed on your user profile.

Cronjob

Add this cronjob and make sure the user has permissions to run the emerge command:

0 20 * * * /bin/zsh /root/tools/updatecheck.sh >/dev/null 2>&1

Boom!

That’s all!