Merge "Fix umm service skip (disable) logic"

This commit is contained in:
Jenkins 2016-03-31 09:31:11 +00:00 committed by Gerrit Code Review
commit 5827f350f9
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
}