Revert "Revert "Init.d support and userinit (1/2)""

This reverts commit 2fca2aa5e5d8f23875f732c4711b239460174e9f.