]> jspc29.x-matter.uni-frankfurt.de Git - hadesdaq.git/commitdiff
fixed, mt
authorhadaq@countinghouse <jan@mueschelsoft.de>
Thu, 24 Apr 2014 22:36:03 +0000 (00:36 +0200)
committerhadaq@countinghouse <jan@mueschelsoft.de>
Thu, 24 Apr 2014 22:36:52 +0000 (00:36 +0200)
control/gui/expert/MDC_LV_Powercycle
control/gui/expert/Wall_Powercycle

index c16d5c9137678d928c4e78e2178604fdfd3f4c21..ced25ed850b969402e067076929c3a89adbe915e 100755 (executable)
@@ -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
 
index 5ba00cbfd6128f3fd2793d55143ca0e82fadd7cb..eb194ed83df2096aea0ddf82fb3c39d447ab2c82 100755 (executable)
@@ -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