Skip to content
Snippets Groups Projects
Verified Commit 86c2ec75 authored by zycromerz's avatar zycromerz
Browse files

core.sh: fix module broken when status.conf value is more than 1


Signed-off-by: default avatarZyCromerZ <neetroid97@gmail.com>
parent 8e4767a3
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ while [[ "$MODULE_STATUS" == "1" ]] ...@@ -19,7 +19,7 @@ while [[ "$MODULE_STATUS" == "1" ]]
do do
# always check module status # always check module status
RunModules="$(cat $PMConfig/status.conf)" RunModules="$(cat $PMConfig/status.conf)"
if [[ "$RunModules" == "1" ]];then if [[ "$RunModules" -ge "1" ]];then
if [[ "$BOOTmode" == "1" ]];then if [[ "$BOOTmode" == "1" ]];then
. $MPATH/system/etc/ZyC-Core/main.sh "boot" . $MPATH/system/etc/ZyC-Core/main.sh "boot"
BOOTmode="0" BOOTmode="0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment