From: Phil Howard Date: Wed, 3 Jul 2019 12:54:17 +0000 (+0100) Subject: Back up to /boot to survive OLI rm X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/commitdiff_plain/db36c95ee3cb998b46a5601f07bbd7fa6b169e20?hp=--cc Back up to /boot to survive OLI rm --- db36c95ee3cb998b46a5601f07bbd7fa6b169e20 diff --git a/install.sh b/install.sh index 9eda1f0..5cde03b 100755 --- a/install.sh +++ b/install.sh @@ -36,7 +36,7 @@ fi function do_config_backup { if [ ! $CONFIG_BACKUP == true ]; then CONFIG_BACKUP=true - FILENAME="config.preinstall-$LIBRARY_NAME-$DATESTAMP.txt" + FILENAME="/boot/config.preinstall-$LIBRARY_NAME-$DATESTAMP.txt" printf "Backing up $CONFIG to $FILENAME\n" cp $CONFIG $FILENAME fi