From: hadaq@countinghouse Date: Thu, 24 Apr 2014 22:36:03 +0000 (+0200) Subject: fixed, mt X-Git-Tag: pre2018~87 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=0fb8e5cf1f83b1e19862c61334b9eab061073142;p=hadesdaq.git fixed, mt --- diff --git a/control/gui/expert/MDC_LV_Powercycle b/control/gui/expert/MDC_LV_Powercycle index c16d5c9..ced25ed 100755 --- a/control/gui/expert/MDC_LV_Powercycle +++ b/control/gui/expert/MDC_LV_Powercycle @@ -1,4 +1,5 @@ #!/bin/bash + export myvar=$(doyoureallywant.pl "to make a MDC powercycle? There will be no further warnings!") if [ $myvar == "256" ]; then exit; fi diff --git a/control/gui/expert/Wall_Powercycle b/control/gui/expert/Wall_Powercycle index 5ba00cb..eb194ed 100755 --- a/control/gui/expert/Wall_Powercycle +++ b/control/gui/expert/Wall_Powercycle @@ -1,8 +1,9 @@ #!/bin/bash -xterm -e " -export myvar=$(doyoureallywant.pl 'to do a power cycle on Wall') -if [ $myvar == '256' ]; then exit; fi +export myvar=$(doyoureallywant.pl "to make a MDC powercycle? There will be no further warnings!") +if [ $myvar == "256" ]; then exit; fi + +xterm -e " echo 'Sending power cycle request' wget -O /dev/null --http-password kaese --http-user admin -d http://haepcp06/RESET.CGI?a=0\&bi=5\&t=0\&b=1 sleep 5