summaryrefslogtreecommitdiff
path: root/util/copy_archinstall_config.sh
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-12-15 11:03:01 +0100
committerxengineering <mail2xengineering@protonmail.com>2019-12-15 11:03:01 +0100
commita9d270eddc062c336c40e1ef8e2c732986222673 (patch)
tree1f68137196293ec69e994872538bb09ab12329aa /util/copy_archinstall_config.sh
parent9c3854fc72d16c7a819cd74e93dda56e6805cc21 (diff)
downloadarchinstall-a9d270eddc062c336c40e1ef8e2c732986222673.tar
archinstall-a9d270eddc062c336c40e1ef8e2c732986222673.tar.zst
archinstall-a9d270eddc062c336c40e1ef8e2c732986222673.zip
Removed some hard-coding.
Diffstat (limited to 'util/copy_archinstall_config.sh')
-rw-r--r--util/copy_archinstall_config.sh5
1 files changed, 4 insertions, 1 deletions
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 <https://www.gnu.org/licenses/>.
-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"