# See how we were called.
case "$0" in
  *halt)
        message="The system is halted"
        command="halt -p" #I do this how you say and it works :)
        ;;
  *reboot)
        message="Please stand by while rebooting the system..."
        command="reboot"
        ;;

Thanks
-- 
                 T0mA5 Dzopczyk <[EMAIL PROTECTED]>
                 - Best regards from JoBCoM.org :)
        @@@@@@@@@@@@@@@Oţţţţ@ţ˘C"˘Łţţţţ@ţţţţ"ţţ@ţţţţţ@ţţţţţţţ@ţţţţţţK%

Reply via email to