Adding init.d support

Change-Id: Iad3e65f42dbeb5aca573fd451cf9eef9b8147332
Merge "Adding init.d support" into jb4.2