wood 2x4 mout feet

this is part of my generator project, which mounts on a wood 2x4. the feet are offset so the generator on the 2x4 does not flip over. there is a hole in the foot to use a drywall screw to sucure the foot to the 2x4 and another hole to secure that assembly to a board or what ever