Skip to content

Commit

Permalink
fixing internet check log report
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohan460 authored Jun 28, 2018
1 parent cad4ab9 commit 7fa87ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Package Source Files/enrollmentScript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ logme "======== Starting Configiration Policy Script ========"
while [ $(/bin/ls -l /dev/console | /usr/bin/awk '{ print $3 }') == '_mbsetupuser' ]; do

# Logging the user lookup
logme "User Check failed, waiting 10 seconds"
logme "User Logged inCheck failed, waiting 10 seconds"

# Waiting
sleep 10
Expand All @@ -61,10 +61,10 @@ while [[ "${returnCode}" -ne "0" ]]; do
if [[ "${returnCode}" -ne "0" ]]; then

# Logging the user lookup
logme "User Check failed, waiting 10 seconds"
logme "Internet check failed, waiting 10 seconds"

# Waiting
sleep 10
sleep 10

fi
done
Expand All @@ -89,4 +89,4 @@ fi
logme "======== Finished Configiration Policy Script ========"

# Exiting and returning the policy call code (never actually reaches this point due to stoping after the reload)
exit $returnCode
exit $returnCode

0 comments on commit 7fa87ea

Please sign in to comment.