make pidfile writing work again
Patch present in openSUSE package.
/var/run can be cleared on every boot (tmpfs) and thus folder
/var/run/vpnc would not exist.
Just use /var/run/vpnc.pid instead of /var/run/vpnc/pid, vpnc
needs to run as root anyway, so this should be fine.
vpnc-script is still using /var/run/vpnc for other stuff (resolv.conf
backup etc) but creates the directory on demand, so no harm is done
there.
This patch fix the case of vpnc run without executing the default
vpnc-script
Author: Stefan Seyfried <seife+obs@b1-systems.com>
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
git-svn-id: https://svn.unix-ag.uni-kl.de/vpnc/trunk@535 315857ad-0bdb-0310-b42e-dec37551a5f0