Add "ihkosctl 0 shutdown" to mcreboot.sh
This commit is contained in:
@ -35,6 +35,8 @@ if lsmod | awk 'BEGIN{rc=1}$1 == "mic"{rc=0}END{exit(rc)}'; then
|
|||||||
sudo service mpss unload
|
sudo service mpss unload
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
"$SBINDIR/ihkosctl" 0 shutdown
|
||||||
|
|
||||||
for mod_name in mcctrl ihk_mic ihk; do
|
for mod_name in mcctrl ihk_mic ihk; do
|
||||||
if lsmod | awk 'BEGIN{rc=1}$1 == "'"$mod_name"'"{rc=0}END{exit(rc)}'; then
|
if lsmod | awk 'BEGIN{rc=1}$1 == "'"$mod_name"'"{rc=0}END{exit(rc)}'; then
|
||||||
modules_were_loaded="1"
|
modules_were_loaded="1"
|
||||||
|
|||||||
Reference in New Issue
Block a user