equal
deleted
inserted
replaced
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 |