Fix umm service skip (disable) logic

Change-Id: I033fdb224c4114b65731913076d6d2f533b61ea1
Closes-bug: #1563276
This commit is contained in:
Peter Zhurba 2016-03-29 18:27:58 +03:00
parent eaec3486b1
commit 3467bf0f7a
3 changed files with 4 additions and 4 deletions

View File

@ -38,5 +38,5 @@ umm-off(){
}
umm-skip(){
return 0
exit 0
}

View File

@ -7,8 +7,8 @@ set_umm(){
echo umm >$UMM_FLAG
}
# check if UMM enabled and sckip processing any services
[[ "$UMM" == "yes" ]] || exit 0
# check if UMM enabled and skip processing any services
[[ "$UMM" == "yes" ]] || umm-skip
if [[ "$1" == "timer" ]] ; then
sleep $(($COUNTER_RESET_TIME*60))

View File

@ -13,5 +13,5 @@ umm-off(){
umm-skip(){
/sbin/initctl emit umm
return 0
exit 0
}