summaryrefslogtreecommitdiff
path: root/scripts/install/install-functions
diff options
context:
space:
mode:
authorThomas Jepp <tom@incyber.eu>2016-02-03 16:49:35 +0000
committerThomas Jepp <tom@incyber.eu>2016-02-03 16:49:35 +0000
commitac29f8f49a1ee620d07c3c6bdaec97afaeb1ad27 (patch)
tree946404e2c5a5f72ab24ec18a7f492005d140bc27 /scripts/install/install-functions
parentfad98c513e39ac4ebf0e08d16e9da9dd06934364 (diff)
downloadvyatta-cfg-system-ac29f8f49a1ee620d07c3c6bdaec97afaeb1ad27.tar.gz
vyatta-cfg-system-ac29f8f49a1ee620d07c3c6bdaec97afaeb1ad27.zip
Make add system image install the image to the right place.
Diffstat (limited to 'scripts/install/install-functions')
-rwxr-xr-xscripts/install/install-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-functions b/scripts/install/install-functions
index d6e38523..85235f75 100755
--- a/scripts/install/install-functions
+++ b/scripts/install/install-functions
@@ -287,7 +287,7 @@ is_union_install ()
if is_live_cd_boot; then
return 1
fi
- if grep -q 'upperdir=/live/overlay//rw' /proc/mounts \
+ if grep -q 'upperdir=/live/persistence/' /proc/mounts \
&& egrep -q 'overlay / overlay ' /proc/mounts; then
return 0
else