Have you checked if an issue already exists for this bug?
Have you tried restarting your device?
What happened that you did not expect?
Shell scripts throwing error despite being typed correctly
What did you expect to happen?
script to work without issue
What would the developer need to do to reproduce the bug?
Copy and paste a shell script into the in app editor and test. You will get some sort of syntax error if there are line breaks
if dumpsys power | grep -q 'mWakefulness=Asleep'; then
input keyevent POWER
cmd hdmi_control cec_setting set volume_control_enabled 0
sleep 1
input keyevent POWER
sleep 1
input keyevent POWER
cmd hdmi_control cec_setting set volume_control_enabled 1
else
input keyevent POWER
fi
App version
Version 4.3.0-foss
Android version
Android 15
Device model and manufacturer
Nvidia Shield TV 2017 (darcy)
Extra info
Have you checked if an issue already exists for this bug?
Have you tried restarting your device?
What happened that you did not expect?
Shell scripts throwing error despite being typed correctly
What did you expect to happen?
script to work without issue
What would the developer need to do to reproduce the bug?
Copy and paste a shell script into the in app editor and test. You will get some sort of syntax error if there are line breaks
App version
Version 4.3.0-foss
Android version
Android 15
Device model and manufacturer
Nvidia Shield TV 2017 (darcy)
Extra info