On restore install anything that needs to be
This commit is contained in:
parent
e12fd7a87e
commit
42e9c7f6b3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue