vpncwatch
vpncwatch copied to clipboard
Both release-1.8.1 and trunk not reading vpnc config file
I tried testing both trunk and 1.8.1 using all the params with an existing vpnc configuration that I know works correctly when using vpnc on the command line specifying the config file to use.. but the following use of vpncwatch seems to indicate that it is not finding, or opening the config file.. because I get all the config prompts from vpnc on the console as if it was an interactive setup
$ ./vpncwatch -c 10.100.4.7 -p 80 -i 5 vpnc /etc/vpnc/resd.conf
vpnc is in my path and is found.. but it seems to ignore my specified read.conf file
Any fix?
Let me take a look at this some time this week when I get a chance. I don't have an idea off the top of my head right now, but it does not sound difficult to fix.
its not urgent...The work-around for me is to copy (or rename) my /etc/vpnc/resd.conf file to /etc/vpnc/default.conf and just specify the vpncwatch params without the resd.conf at the end..... the vpnc command will then pick up the default.conf file and do what is expected.. with no prompting.
Thanks for your consideration and time. ;)