On February 1, 2016 9:28:58 AM EST, Sean Mathews <[email protected]> wrote: >Maybe write a simple C init wrapper and have it call the real init >process.
Write a shell script that stores its arguments in a particular text file i.e. 'echo "$@" > /var/log/init_cmdline'. Have that shell script 'exec /sbin/init $@' at the end. That would preserve the argument list somewhere with no modifications to BusyBox and remain otherwise functionally identical. It should also work with any init binary you choose. _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
