Refactored lxc-net init script.