fix syntax in shutdown script