diff options
-rwxr-xr-x | components/9990-vyos.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/9990-vyos.sh b/components/9990-vyos.sh index c5340eb..2f515ba 100755 --- a/components/9990-vyos.sh +++ b/components/9990-vyos.sh @@ -27,8 +27,8 @@ fi 2>/dev/null # 3) create live/"overlay" which may or maynot be on a non-volatile device # but is certainly read-write - -unioncfgpath="$(trim_path /root/lib/${VYOS_MOUNT}/${PERSISTENCE_PATH}/rw)" +VYOS_MOUNT_DIR=`echo ${VYOS_MOUNT} | sed 's/live/mount/'` +unioncfgpath="$(trim_path /root/lib/live/${VYOS_MOUNT_DIR}/${PERSISTENCE_PATH}/rw)" if [ -d /root/opt/vyatta/etc/config ] then |