diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install/install-postinst-new | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install/install-postinst-new b/scripts/install/install-postinst-new index 4e387c0d..ae723627 100755 --- a/scripts/install/install-postinst-new +++ b/scripts/install/install-postinst-new @@ -47,8 +47,8 @@ copy_config () { # that this will include any changes made and saved by the user, # as well as changes such as interface MAC addresses automatically # generated by the user. So it is the first choice. - if [ -f "${VYATTA_NEW_CFG_DIR}/config.boot" ]; then - config=${VYATTA_NEW_CFG_DIR}/config.boot + if [ -f "${VYATTA_CFG_DIR}/config.boot" ]; then + config=${VYATTA_CFG_DIR}/config.boot fi # Third candidate: The default config file |