@substring I've been trying some more, let me explain the problem better:
Typing in /usr/bin/connmanctl config ethernet_b827ebba8c1e_cable --ipv4 manual [IP] [netmask] [gateway] --nameservers 208.67.222.222 TWICE through the command line works (one changes the ip and the second time seems to get the nameserver to resolve properly) works, but when i put it in my /etc/init.d/S99custom file after #!/bin/bash it seems to ignore the nameserver part, as it does assign the IP properly but it will not resolve.
edit: i've just tried putting in that command twice in my file, with sleep 5s in between but nope, it doesn't care i have to ssh every time to get the nameserver to work. and the file is being run fine on boot because i put in a touch command just to make sure it wasn't my fault setting this up.
so to recap: after rebooting my machine with the custom file written like this:
#!/bin/bash
/usr/bin/connmanctl config ethernet_b827ebba8c1e_cable --ipv4 manual [IP] [netmask] [gateway] --nameservers 208.67.222.222
sleep 5s
/usr/bin/connmanctl config ethernet_b827ebba8c1e_cable --ipv4 manual [IP] [netmask] [gateway] --nameservers 208.67.222.222
... breaks the nameserver, and SSHing into the machine (which has the IP address i gave it with connmanctl properly set, so it's not entirely ignoring me) then running nslookup google.com returns 127.0.0.1 as the nameserver (????????).
oh yeah, and also, if i put the aforementioned command in the custom file just once it also doesn't work. that's why I started experimenting with maybe putting it twice.
THEN over ssh if I run the conmanctl command that i've put in the custom file, that's when it resolves nslookup perfectly and the achievements work.
i'm confused as f**k right now
and yeah i kinda have gateway problems that's why i set everything manually, but everything i have works after i've set static ip addresses.