Create pre-reboot.sh