1. add shutdown support for the linux system