Add a bash script for system rebooting safely.