FYI: It’s better easier to edit rc.local unless you manually add the GL script to LuCI backup inclusions/sysupgrade.conf:
rc.local
sysupgrade.conf