Create a new file /etc/init.d/halt containing the following:
cat > halt << "EOF" #!/bin/sh # Begin /etc/init.d/halt # # Call halt. See man halt for the meaning of the parameters # /sbin/halt -d -f -i -p # End /etc/init.d/halt EOF