Add "ihkosctl 0 shutdown" to mcreboot.sh

This commit is contained in:
Masamichi Takagi
2013-12-10 14:17:55 +09:00
parent 6d9bf6ad84
commit c01cccd1b2

View File

@ -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"