summaryrefslogtreecommitdiff
path: root/scripts/install/install-postinst-new
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install/install-postinst-new')
-rwxr-xr-xscripts/install/install-postinst-new4
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