Hi Harald. Thank you very much for the answer, but I had no luck. I performed a 

kill -s QUIT 1

and the device restarted, but no output yet. The "restart" line was already 
present in my inittab. I c&p it all:

# This is run first except when booting in single-user mode.
::sysinit:/etc/init.d/rcS
::respawn:/sbin/getty -L ttymxc0 115200 vt100
::ctrlaltdel:/sbin/reboot
::shutdown:/etc/init.d/test
::shutdown:/bin/umount -a -r
::restart:/sbin/init

I only added the "test" line, all the other changes was done by Kobo devs.




On 6 May 2013 18:40, Harald Becker ralda-at-gmx.de |lists.busybox.net| 
<[email protected]> wrote:
> Hi Lucas !
>
>>::shutdown:/etc/init.d/test
>
> Busybox init requires a restart action to enable shutdown operation.
> try adding:
>
> ::restart:/sbin/init
>
> Then send a SIGQUIT to your process 1 and see if you shutdown script is
> invoked as expected.
>
> --
> Harald
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to