diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2010-02-16 11:52:14 -0800 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2010-02-16 11:52:14 -0800 |
commit | 03c22ef560755fa2f1b5983dd18fa91066adbd2c (patch) | |
tree | 5b90deb53444164393106e34d5795e924f3626ec /scripts | |
parent | c333b5e4afbaef65886ba14b5e4580428ca7a495 (diff) | |
download | vyatta-cfg-quagga-03c22ef560755fa2f1b5983dd18fa91066adbd2c.tar.gz vyatta-cfg-quagga-03c22ef560755fa2f1b5983dd18fa91066adbd2c.zip |
Bugfix 5327: Don't try to save config from images with none.
On image-based systems, the Vyatta configuration is mounted on /config and
can be found in the disk filesystem under
/boot/<image-name>/live-rw/config.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install/install-get-partition | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition index 37ec5580..f6977850 100755 --- a/scripts/install/install-get-partition +++ b/scripts/install/install-get-partition @@ -549,7 +549,7 @@ save_old_info() { image_dirs=/mnt/tmp/boot/* for dir in $image_dirs; do - if [ -f $dir/live-rw/opt/vyatta/etc/config/.vyatta_config ]; then + if [ -f $dir/live-rw/config/.vyatta_config ]; then item=${dir##/mnt/tmp/boot/} images=($item ${images[@]}) |