From 0de4577c008231e46915590097df5e09ec669e4e Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Tue, 2 Feb 2016 09:02:37 -0500 Subject: Change live to mount in variable. --- components/9990-vyos.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components') 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 -- cgit v1.2.3