amdgpu-mod.sh: function: not found
Closed this issue · 2 comments
krtschmr commented
sh amdgpu-mod.sh
amdgpu-mod.sh: 21: amdgpu-mod.sh: function: not found
-e
____________________________________________________
| _ __ _ _ _ |
| /\ |\/| | \ /__ |_) | | |\/| / \ | \ |
| /--\ | | |_/ \_| | |_| | | \_/ |_/ |
|__________________________________________________|
amdgpu-mod.sh: 29: amdgpu-mod.sh: Syntax error: "}" unexpected
krtschmr commented
what am i doing wrong?
rumatoest commented
It is BASH script, not SH. And it must be executed as file after $chmod +x ./amdgpu-mod.sh