diff --git a/src/freedombone-restore-local b/src/freedombone-restore-local index 66ccee2c..9eb0fc13 100755 --- a/src/freedombone-restore-local +++ b/src/freedombone-restore-local @@ -237,6 +237,10 @@ function restore_configuration { rm -rf /root/tempconfig exit 5294 fi + if [ -f $CONFIG_FILE ]; then + # install according to the config file + freedombone -c $CONFIG_FILE + fi cp -f /root/tempconfig/root/${PROJECT_NAME}-completed.txt $COMPLETION_FILE if [ ! "$?" = "0" ]; then unmount_drive diff --git a/src/freedombone-restore-remote b/src/freedombone-restore-remote index 698c5ab8..cec39041 100755 --- a/src/freedombone-restore-remote +++ b/src/freedombone-restore-remote @@ -146,6 +146,10 @@ if [ -d $SERVER_DIRECTORY/backup/config ]; then rm -rf /root/tempconfig exit 5372 fi + if [ -f $CONFIG_FILE ]; then + # install according to the config file + freedombone -c $CONFIG_FILE + fi cp -f /root/tempconfig/root/${PROJECT_NAME}-completed.txt $COMPLETION_FILE if [ ! "$?" = "0" ]; then unmount_drive