meta-facebook: tiogapass: Fix sled cycle support

Fixing sled cycle with order and also adding output.

(From meta-facebook rev: e071aa2001021afa4d8a9a3d4982d6fcf681654a)

Change-Id: I8ac00cdc69cf10a04e2a2a41a87a7cc4564d66b8
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/power-util b/meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/power-util
index c587bcf..30fa34c 100755
--- a/meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/power-util
+++ b/meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/power-util
@@ -33,6 +33,12 @@
 	i2cset -y 7 0x45 0xd9 c
 }
 
+if [ $1 == "sled-cycle" ]; then
+	echo "SLED_CYCLE starting at $(date)"
+	sled_cycle
+	exit 0;
+fi
+
 if [ $# -lt 2 ]; then
 	echo "Total number of parameter=$#"
 	echo "Insufficient parameter"
@@ -40,10 +46,6 @@
 	exit 0;
 fi
 
-if [ $1 == "sled-cycle" ]; then
-	sled_cycle
-fi
-
 if [ $1 != "mb" ]; then
 	echo "Invalid parameter1=$1"
 	usage;