"exec /sbin/init" does not use inittab

Alexander Kriegisch Alexander at Kriegisch.name
Thu Oct 11 06:33:50 UTC 2007


Loïc Grenié:
>> I use kernel_args init=/my/script on my embedded platform with BB 1.7.2.
>> Thus, my Ash shell script (sets up an NFS root) replaces init, but
>> explicitly calls it when done:
>>>   exec /sbin/init
> 
>      Maybe you can try
> 
> exec /sbin/init "$@"


Actually no. My script gets no arguments it could forward.
--
Alexander Kriegisch




More information about the busybox mailing list