diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-05-12 18:55:21 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-05-12 18:55:21 -0500 |
commit | 81731da16519e452ab2d4eb913ee01e5468a1905 (patch) | |
tree | 5a12eb546a3fa9a6807130675398d3f3b59d33c6 /scripts | |
parent | e64b6af92ab7907d5df4b901f8422a33e6dd4a2f (diff) | |
download | vyatta-cfg-system-81731da16519e452ab2d4eb913ee01e5468a1905.tar.gz vyatta-cfg-system-81731da16519e452ab2d4eb913ee01e5468a1905.zip |
Bugfix 7076: make add system image copy to /config instead of /opt/vyatta/etc/config
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install/install-image-existing | 2 |
1 files changed, 1 insertions, 1 deletions
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/" ';' |