Patch from Tim Bielawa <timbielawa@gmail.com> to make init scripts work