Able to specify ipfs port
This commit is contained in:
parent
0561f5264f
commit
1e11d1f157
|
@ -781,6 +781,9 @@ function read_configuration {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f $CONFIGURATION_FILE ]; then
|
if [ -f $CONFIGURATION_FILE ]; then
|
||||||
|
if grep -q "IPFS_PORT" $CONFIGURATION_FILE; then
|
||||||
|
IPFS_PORT=$(grep "IPFS_PORT" $CONFIGURATION_FILE | awk -F '=' '{print $2}')
|
||||||
|
fi
|
||||||
if grep -q "BACKUP_TYPE" $CONFIGURATION_FILE; then
|
if grep -q "BACKUP_TYPE" $CONFIGURATION_FILE; then
|
||||||
BACKUP_TYPE=$(grep "BACKUP_TYPE" $CONFIGURATION_FILE | awk -F '=' '{print $2}')
|
BACKUP_TYPE=$(grep "BACKUP_TYPE" $CONFIGURATION_FILE | awk -F '=' '{print $2}')
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue