I just found a post from @TonySmith which seems to be of relevance.
Tony writes:
To get it working with a RAK gateway I had to
1 - Change the Reset pin number from Pin23 to Pin 17 in the filereset_lgw.sh
2 - removed the use of the “Power Enable” pin in the same file as the gateway has no enable pin (my emphasis)
Kind regards,
Ketil