Configurable init.d

Change-Id: I748eb0ce5b1fa89bc5a762918cd9a74e0c4b2449