#!/bin/sh BOOT_CONF=`/bin/cat /etc/default_config/BOOT.conf 2>/dev/null` if [ -x /sbin/storage_util ];then /sbin/storage_util --shutdown_check if [ $? -eq 0 ];then /sbin/log_tool -t 1 -a "Auto reboot was canceled because one volume was busy" exit 0 fi fi . /etc/init.d/wait_RR echo reboot start... if [ "x${BOOT_CONF}" = "xTS-NASARM" ]; then if [ -x /sbin/hal_app ]; then /sbin/hal_app --se_sys_set_pic_wdt enc_sys_id=root,mode=1 else /sbin/pic_raw 104 #enable pic watch dog timer 5 min,reboot fi fi /sbin/reboot