Make sure that halt and reboot are called with the right arguments. This adds a regression as now 'shutdown -r now' halts the system.
Changed paths: