#!/bin/sh # /etc/init.d/halt - halt the system PATH=/sbin:/bin case $1 in stop) echo "Initiating system halt." halt ;; *) echo "usage: $0 stop" ;; esac