C'est réparé...
darcs-hash:20080222112002-af139-fcfed3abc301715315abbd2226dfb101a5c77e0b.gz
This commit is contained in:
parent
7477b505ac
commit
82bbc57a76
1 changed files with 0 additions and 2 deletions
|
@ -3,8 +3,6 @@
|
||||||
VPN_NAME=ovh
|
VPN_NAME=ovh
|
||||||
PID_FILE=/var/run/openvpn.${VPN_NAME}.pid
|
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 [[ ! -f $PID_FILE || ! -d /proc/$(< $PID_FILE) ]] && ! fping -q ovh.adm.crans.org; then
|
||||||
if fping -q ovh.crans.org; then
|
if fping -q ovh.crans.org; then
|
||||||
if /etc/init.d/openvpn start ${VPN_NAME} > /dev/null; then
|
if /etc/init.d/openvpn start ${VPN_NAME} > /dev/null; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue