I have made an apk that allows the user to edit kernel's configuration and to make these changes sticky also after a reboot I have added the scripts that the app copies into init.d folder. Now the problem is that the scripts are very much and I'm thinking about making a bootservice that applies the user's preferences at boot, simply executing commands at boot avoiding the scripts and so saving space.
Can someone explain to me what I have to do?