dwagelaar / enforce-dpms

Systemd user service to work around a long-standing amdgpu bug that breaks DPMS sleep mode
https://gitlab.freedesktop.org/drm/amd/-/issues/662
GNU General Public License v3.0
13 stars 2 forks source link

Change shebang lines from /bin/sh to /bin/bash #3

Closed Socob closed 3 years ago

Socob commented 3 years ago

The shell scripts use several constructs not available in a standard shell, causing them to fail if run with a shell that does not support them (such as dash). Among these are set -o pipefail, the function keyword, or ranges like {1..150}. Specifying bash ensures that the selected shell supports all features currently used in the scripts.