The move follows a nationwide inspection revealing thousands of drugstores operating without proper oversight.