From cdee1d1692b8de9fa4d04449015b87d3ad6f073c Mon Sep 17 00:00:00 2001
From: Arno Schoenmakers <schoenmakers@astron.nl>
Date: Fri, 17 Apr 2009 09:15:15 +0000
Subject: [PATCH] Bug 1136: Added rpsctl --rcumode=0 when going to swlevel 1

---
 MAC/APL/APLCommon/src/swlevel | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/MAC/APL/APLCommon/src/swlevel b/MAC/APL/APLCommon/src/swlevel
index 72706f16f47..15e6d871c3d 100755
--- a/MAC/APL/APLCommon/src/swlevel
+++ b/MAC/APL/APLCommon/src/swlevel
@@ -243,6 +243,12 @@ goto_level()
 			program=`echo $line | cut -d":" -f6`
 			stop_prog $program x$asroot x$withmpi
 		done
+
+		# set rcumode to 0 (power save) when entering level 1
+		if [ ${l} == 1 ]; then
+		    rspctl --rcumode=0
+		fi
+
 	done
 
 	# then power up to new level
-- 
GitLab