Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- case $1 in
- config)
- cat <<'EOM'
- graph_args --base 1000 -l 0
- graph_category pacman
- graph_title Pending updates
- graph_vlabel updates
- updates.label updates
- updates.info Current number of pending updates
- updates.warning 1
- EOM
- exit 0;;
- esac
- echo updates.value $(checkupdates | wc -l)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement