Set up IP add on lora-gateway-os-full

Hi
I have a problem whith set up IP addres whith my Raspberry (image lora-gateway-os-full) . I try instruction in this forum
https://forum.loraserver.io/t/static-ip-and-dns-on-raspberrypi-with-lora-gateway-os/4310

but I don’t have a folder dhcpd.conf

when I tried the script in the article, didn’t want to let him go because of is error in code

Thanks

Hey Michal, it should work. May you missed some tab spaces or sth? Here is the full complete code:

Yes, you are right skript is functional. I have made a mistake because I copy code whith windows . How do I ensure that the code starts automatically when it is turned on my raspberry?