Just wanted to add some details here. Notice in the photo that the left wall of the closet, the board I attached to the wall is only about 2" wide. I cut it that way so as to not interfere with that access hole that's behind that wall. I have plans to install a safe in there. And on the right side of the photo I left the board mounted to that wall at its stick with of 4". I used 4 wood screws per board for screwing to that walls. The left side I know 2 of the screws sank into that wood frame around that hole that's covered up. The right board is mounted just a bit lower than the left board, so that the rod can side in and out of the notches in the 2 boards.
Just some info.
JeNNY (2015 FR3 / 30DS)
2000 Jeep TJ Moab Rock Crawler
2013 Jeep JK