Setting Automated Geofence

I am facing Problem In setting up the geofence. If anyone have any idea on how to set the geofence using MAVProxy that would be helpful. Basically I want to embed the geofence inside the firmware, i.e everytime the pixhawk boots A geo-fence is already set. SO any suggetions?

Thank you,

It already does. Do you have FENCE_AUTOENABLE > 0?