From 81731da16519e452ab2d4eb913ee01e5468a1905 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Thu, 12 May 2011 18:55:21 -0500 Subject: Bugfix 7076: make add system image copy to /config instead of /opt/vyatta/etc/config --- scripts/install/install-image-existing | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install/install-image-existing b/scripts/install/install-image-existing index 39299507..491f6499 100755 --- a/scripts/install/install-image-existing +++ b/scripts/install/install-image-existing @@ -188,7 +188,7 @@ if [ $space_avail -gt $space_needed_configdata ]; then resp=$(get_response "Yes" "Yes No Y N") if [ "$resp" == 'yes' ] || [ "$resp" == 'y' ]; then echo 'Copying current configuration...' - ndir=${INST_ROOT}${VYATTA_CFG_DIR} + ndir=${INST_ROOT}/config mkdir -p $ndir find $VYATTA_CFG_DIR -maxdepth 1 -mindepth 1 \ -exec cp '-a' '{}' "$ndir/" ';' -- cgit v1.2.3