From dad1dcdc73fb5cf2d90f56caace1810f5850f0a3 Mon Sep 17 00:00:00 2001 From: Josh S Date: Fri, 18 Aug 2023 18:22:28 -0400 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7acab9c..54a2561 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,9 @@ then fill the `onbatt.sh` file with the contents from this github repo # 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