Better way of detecting init system in Linux.