From c01cccd1b2dcca7af7c8b5ece35389323b24ef90 Mon Sep 17 00:00:00 2001 From: Masamichi Takagi Date: Tue, 10 Dec 2013 14:17:55 +0900 Subject: [PATCH] Add "ihkosctl 0 shutdown" to mcreboot.sh --- arch/x86/tools/mcreboot-attached-mic.sh.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/tools/mcreboot-attached-mic.sh.in b/arch/x86/tools/mcreboot-attached-mic.sh.in index a20581e5..07ab608e 100755 --- a/arch/x86/tools/mcreboot-attached-mic.sh.in +++ b/arch/x86/tools/mcreboot-attached-mic.sh.in @@ -35,6 +35,8 @@ if lsmod | awk 'BEGIN{rc=1}$1 == "mic"{rc=0}END{exit(rc)}'; then sudo service mpss unload fi +"$SBINDIR/ihkosctl" 0 shutdown + for mod_name in mcctrl ihk_mic ihk; do if lsmod | awk 'BEGIN{rc=1}$1 == "'"$mod_name"'"{rc=0}END{exit(rc)}'; then modules_were_loaded="1"