Configurable init.d

Change-Id: I5d2dd413ec8f2b884164f20c4bf694db2d65e283