On Mon, 4 May 2015, Antonio Terceiro wrote:
On Mon, May 04, 2015 at 12:48:37PM -0400, Scott Moser wrote:
Also, what about the do-not-use-EXIT-when-trapping.patch patch which I had to
add in Debian? Could you please apply them both?
EXIT is posix compatible. you really should change the shell to be posix
compatible rather than changing all programs to expect a subset of poxix
shell.
http://pubs.opengroup.org/onlinepubs/000095399/utilities/trap.html
EXIT is supported by dash ... I have just tested the script below and it
works as expected on all Debian release since at least wheezy.
I think its not supported in the static busybox that is in debian
initramfs.
Not sure, but I think that was the problem.