Update README.md

This commit is contained in:
Josh S 2023-08-18 18:22:28 -04:00 committed by GitHub
parent 141ee120b2
commit dad1dcdc73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,9 @@ then fill the `onbatt.sh` file with the contents from this github repo
# Setting up the battery alerts # Setting up the battery alerts
1. Run this: `crontab -e` and scroll all the way to the bottom and paste these lines: 1. Run these commands `nano /etc/apcupsd/scripts/lowbatt.sh` and fill it with the desired contents (do the same with the /etc/apcupsd/scripts/critlowbatt.sh).
2. Make sure to grant the right perms for the scripts: `chmod +x /etc/apcupsd/scripts/lowbatt.sh && chmod +x /etc/apcupsd/scripts/critlowbatt.sh`
3. Run this: `crontab -e` and scroll all the way to the bottom and paste these lines:
``` ```
*/1 * * * * /bin/bash /etc/apcupsd/scripts/lowbatt.sh */1 * * * * /bin/bash /etc/apcupsd/scripts/lowbatt.sh