On Wed, Aug 20, 2008 at 02:53:13AM +0200, Denys Vlasenko wrote: > On Tuesday 19 August 2008 17:40, Doug Graham wrote: > > We could try doing this by having our shutdown action kill all processes > > before doing the unmount, but this could be tricky. The "kill -1" > > might kill some process that we don't want killed, such as the shell > > process that is launched to run the shutdown action. > > > > So I think it makes sense to allow for an action to be run after all > > processes have been killed. Thoughts? > > I don't use init at all (my init is a shell script). > > I shut down my machine basically with sequence of > sync, killall5 -TERM, umount -a, killall5 -KILL > wiht some sleeps inserted in between.
Hmmm. Never heard of killall5 before, but it looks like exactly what I'm looking for. Will give it a try. Thanks, Doug _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
