Creating the reboot script Create the /etc/init.d/reboot script by running the following command: cat > reboot << "EOF" #!/bin/sh # Begin /etc/init.d/reboot # # Call reboot. See man halt for the meaning of the parameters # echo "System reboot in progress..." /sbin/reboot -d -f -i # End /etc/init.d/reboot EOF