From a9d270eddc062c336c40e1ef8e2c732986222673 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 15 Dec 2019 11:03:01 +0100 Subject: Removed some hard-coding. --- util/copy_archinstall_config.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'util/copy_archinstall_config.sh') diff --git a/util/copy_archinstall_config.sh b/util/copy_archinstall_config.sh index 8a7b04a..a56a222 100644 --- a/util/copy_archinstall_config.sh +++ b/util/copy_archinstall_config.sh @@ -18,6 +18,9 @@ # along with this program. If not, see . -cp $LOG_FILE_PATH /mnt$LOG_FILE_PATH +config_file_path=$1 # e.g. "/var/log/archinstall.log" + + +cp $config_file_path /mnt$config_file_path echo "Copied archinstall configuration - OK" -- cgit v1.2.3-70-g09d2