Init.d script trouble shooting I'm trying to run an init.d script when my rom boots to disable system services, and they aren't running.

The script is as follows

#!/system/bin/sh
su -c pm disable com.google.android.gms/.update.SystemupdateService
su -c pm disable com.google.android.gms/.update.SystemUpdateGcmTaskService


I can confirm that normal pm disable commands work to disable non system applications. So I suspect I'm not doing something right to su privileges.
If you didn't done this way then try it:
Put this script in file and save it in system/bin/ (let's say you name it script1) and set permissions to 755, than make file in system/etc/init.d/ (name it whatever you want) and in file write:

#!/system/bin/sh
script1


And also set permissions to 755. Reboot and see if it has any effect.
Also you can try enabling su during boot, you have that option in super su.