Creating the reboot script

Create a new file /etc/init.d/reboot containing the following:



#!/bin/sh
# Begin /etc/init.d/reboot

echo "System reboot in progress..."

/sbin/reboot -d -f -i

# End /etc/init.d/reboot