# Compare userland version.
while [ 1 ]; do
  # When running the new userland, the version should match.
  echo "Comparing userland versions: ${HOOK_OSVER_USER} / ${HOOK_REL_USER}"
  if [ "${HOOK_OSVER_USER}" = "${HOOK_REL_USER}" ]; then
    echo "Confirmed: System upgrade was successful."
    break
  else
    echo "Userland version does not match."
  fi
  sleep 1
done
exit 0
# If the version does not match, then this task will run into a timeout
# and fail.
