#!/bin/sh
if [ -x /sbin/storage_util ];then
    /sbin/storage_util --shutdown_check
    if [ $? -eq 0 ];then
        /sbin/log_tool -t 1 -a "Auto shutdown was canceled because one volume was busy"
        exit 0
    fi
fi
. /etc/init.d/wait_RR
echo shutdown start...
/sbin/poweroff
