auto generate a bash file for adding static route