Solution temporaire pour le VPN

Solution temporaire, le temps que le VPN soit "bien" reinstalle sur ovh ...

darcs-hash:20080222110825-ddb99-b7f181d9d6a552a3ba39d75d9f5918176a741f5e.gz
This commit is contained in:
Michel Blockelet 2008-02-22 12:08:25 +01:00
parent 54e00e1d14
commit 7477b505ac

View file

@ -3,6 +3,8 @@
VPN_NAME=ovh
PID_FILE=/var/run/openvpn.${VPN_NAME}.pid
exit 0
if [[ ! -f $PID_FILE || ! -d /proc/$(< $PID_FILE) ]] && ! fping -q ovh.adm.crans.org; then
if fping -q ovh.crans.org; then
if /etc/init.d/openvpn start ${VPN_NAME} > /dev/null; then