phbaer/lxc-tools — pull request #15 by tyru (2012-08-20 15:11:11+00:00)
Title: fix init: wait background lxc-halt process

Removed the code polling until lxc-halt exits.
and use `wait` to wait background.

Problem: the code of script `init` [from line 81 to line 86](https://github.com/tyru/lxc-tools/blob/028ace980e3303219ce93c45cb071a26a14bfded/init#L81-L86) returns 0 if any of container is `STOPPED`.
This may result in lxc-halt processes remain even after script `init` exits.