psu: full paths
[nethome.git] / bin / psu
diff --git a/bin/psu b/bin/psu
index 51cdf90..c8d9697 100755 (executable)
--- a/bin/psu
+++ b/bin/psu
@@ -1,4 +1,4 @@
 #! /bin/bash
-acpi|&grep -Eq 'Battery 0: Not charging|Battery 0: Charging|No support for device type: power_supply' || exit 1
-grpcurl -v -plaintext -d '{"get_status":{}}' 192.168.1.1:9000 SpaceX.API.Device.Device/Handle &>/dev/null || exit 1
+/usr/bin/acpi|&grep -Eq 'Battery 0: Not charging|Battery 0: Charging|No support for device type: power_supply' || exit 1
+/usr/bin/grpcurl -v -plaintext -d '{"get_status":{}}' 192.168.1.1:9000 SpaceX.API.Device.Device/Handle &>/dev/null || exit 1
 exit 0