Maybe write a simple C init wrapper and have it call the real init process. Then you can look at your PID under /proc/xxx/status for the PPid and get the args from that process.
This would be less work than writing your own init. If you are not PID 1 you will have to use debug mode for init or it will fail as it checks that its PID 1. How are you going to handle shutdown and halt and its kill(-1)? Re Sean
_______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox