search for: estado_conexion

Displaying 1 result from an estimated 1 matches for "estado_conexion".

2011 Dec 06
0
script for check drbd at mount ocfs2 at boot in debian
.../usr/bin/logger" if [ ! -f /proc/drbd ]; then ? ?$LOG "No esta arrancado DRBD..." ? ?exit 1 fi case "$1" in ?start) ? ? ? ?# Inciando las comprobaciones ESTADO_MIRROR=`/sbin/drbdadm dstate r$RES` until [ "$ESTADO_MIRROR" == "UpToDate/UpToDate" ]; do ? ?ESTADO_CONEXION=`/sbin/drbdadm cstate r$RES` ? ?IP_ASIGNADA=`ifconfig $NET_INTERFACE | sed -n '/^[A-Za-z0-9]/ {N;/dr:/{;s/.*dr://;s/ .*//;p;}}'` # ? if [ "$ESTADO_CONEXION" == "WFConnection" ] && [ "$IP_ASIGNADA" != "$IP_SYNC" ]; then ? ?if [ "$IP_ASIGNA...