Script is now updated with requested changes, obviously I don’t have one so can not test it.
If anyone wants to try it, just follow the steps for installing for a Odroid c2 and swap out the necessary lines for the script which is called…
install-openhab-rockpi4.sh