ha-sync
changeset 46 e58096e33821
parent 30 70e5ecce4769
equal deleted inserted replaced
45:377edad75934 46:e58096e33821
     1 #! /bin/bash
     1 #! /bin/bash
     2 CONFIG=/etc/ha-sync/ha-sync.conf
     2 CONFIG=/etc/ha-sync/ha-sync.conf
     3 source $CONFIG
     3 source $CONFIG
     4 
     4 
     5 test "$NODE_A" \
     5 test "$NODE" \
       
     6         && test "$NODE_A" \
     6 	&& test "$NODE_B" \
     7 	&& test "$NODE_B" \
     7 	&& test "$FILESYSTEMS" \
     8 	&& test "$FILESYSTEMS" \
     8 	&& test "$EXCLUDE" \
     9 	&& test "$EXCLUDE" \
     9 	|| {
    10 	|| {
    10 	echo "$0: essential config variables are missing from $CONFIG" >&2
    11 	echo "$0: essential config variables are missing from $CONFIG" >&2