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:
parent
54e00e1d14
commit
7477b505ac
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue