case `hostname -s` in sx3) pbs_server_enable="YES" pbs_sched_enable="YES" pbs_mom_enable="YES" ;; bs[0-9]*|sx[0-9]*) pbs_mom_enable="YES" ;; bstest*) ;;
case $box in bs[1-9]|bs[1-9][0-9]) bs=${box#bs} bsnum=$(( ( $bs - 1 ) % 14 + 1 )) bcnum=$(( ( $bs - 1 ) / 14 + 1 )) clogin -c "env -T system:blade[$bsnum];reset;exit"\ bc${bcnum}-amm ;; sx[1-4]) ipmitool -I lan -H $box-bmc -U manager\ -f ~/ipmitool.pass\ chassis power reset ;; *) echo "Box $box not recognized" ;; esac; done