Attach a 2 × 4 ledger to the front wall studs to support the 2 × 4 shelf supports that run from the front of the bench to the wall. Use 3" deck screws driven at kneewall stud locations.