On Tue, Aug 19, 2008 at 11:40:33AM -0400, Doug Graham wrote: >Should init have the ability to run actions after killing all processes? >As it stands now, the "shutdown" action is run just before killing all >processes in kill_all_processes(). We'd like to be able to cleanly unmount >all filesystems as part of shutting down, so that no fsck is required >on the next boot. However, the filesystems can only be unmounted after >all processes have been killed. > >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.
sure. http://repo.or.cz/w/buildroot.git?a=blob_plain;f=target/generic/target_busybox_skeleton/etc/inittab;hb=HEAD > Thoughts? hm, nope :P _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
