#!/bin/bash
-ssh hadeswrp02 /home/hadaq/bin/reset_beamabort_error.sh
+xterm -geometry 80x24 -bg orange -fg black -e bash -c '
+ ssh hadaq@hadesp33 "
+ echo Removing Error Flag
+ ssh hadeswrp02 /home/hadaq/bin/reset_beamabort_error.sh
+ echo Done
+ sleep 5
+ "
+'
+
+
--- /dev/null
+#!/bin/bash
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot all HUBs in the system")
+if [ $myvar == "256" ]; then exit; fi
+
+notifyall.sh "DAQ" "<I> The Hubs are going to be rebooted." "STARTUP" &
+
+
+xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
+ ssh hadaq@lxhadesdaqp "
+ source /home/hadaq/.bash_profile
+ trbcmd reload 0xfe40
+
+ sleep 10
+ "
+'
+
+
--- /dev/null
+#!/bin/bash
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot all HUBs in the system")
+if [ $myvar == "256" ]; then exit; fi
+
+notifyall.sh "DAQ" "<I> The Hubs are going to be rebooted." "STARTUP" &
+
+
+xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
+ ssh hadaq@lxhadesdaqp "
+ source /home/hadaq/.bash_profile
+ trbcmd reload 0xfe61
+
+ sleep 10
+ "
+'
+
+
--- /dev/null
+#!/bin/bash
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot all HUBs that miss their IP")
+if [ $myvar == "256" ]; then exit; fi
+
+notifyall.sh "DAQ" "<I> The Hubs without Ethernet are going to be rebooted." "STARTUP" &
+
+
+xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
+ ssh hadaq@lxhadesdaqp "
+ source /home/hadaq/.bash_profile
+ /home/hadaq/trbsoft/daq/nettools/missingipfix.pl
+ sleep 10
+ "
+'
+
+
ssh hadesp33 \"pkill -f ./hmon_ecal_recover_dead_slow_channels.pl\"
cd /home/hadaq/trbsoft/hadesdaq/ecal/
./ecal_set_thresholds.pl
+ #echo \"set thresholds for sec2 and sec4\"
+ #./ecal_set_thresholds_sec2_sec4.pl
echo \"Done\"
tmux new-session -d -s \"ecal_recover_dead_channels\" \"cd ~/trbsoft/hadesdaq/hmon/; export PERL5LIB=.; ./hmon_ecal_recover_dead_slow_channels.pl\"
sleep 10
--- /dev/null
+#!/bin/bash
+
+xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
+ ssh hadaq@lxhadesdaqp "
+ export DAQOPSERVER=hadesp31
+ echo \" <Start> Setting Thresholds...\"
+ cd /home/hadaq/trbsoft/hadesdaq/hodo/thresholds/
+ ./set_threshold_hodo.sh
+ echo \"Done\"
+ sleep 10
+"
+'
+