diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/on_ac_power | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/on_ac_power b/scripts/on_ac_power index 5dd516f2..b35094fe 100755 --- a/scripts/on_ac_power +++ b/scripts/on_ac_power @@ -19,7 +19,7 @@ elif [ -f /proc/pmu/info ]; then "AC Power"*": 0") exit 128;; esac done -elif type envstat >/dev/null 2>&1; then +elif command -v envstat >/dev/null 2>&1; then # NetBSD has envstat envstat -d acpiacad0 2>/dev/null | while read line; do case "$line" in |