On Manjaro 18.1.5 turn_off_gpu.sh script returns line 39: warning: command substitution: ignored null byte in input warning instead of saying "failed" or "works"
I fixed it by replacing line 39
result=$(cat /proc/acpi/call)
with
result=$(tr -d '\0' </proc/acpi/call)
On Manjaro 18.1.5
turn_off_gpu.shscript returnsline 39: warning: command substitution: ignored null byte in inputwarning instead of saying "failed" or "works"I fixed it by replacing line 39
with