Adding support for the previous persistence configuration file name, for compatibilit...
[live-boot-grml.git] / scripts / boot / 9990-misc-helpers.sh
index 06fef87..ace130b 100755 (executable)
@@ -1258,9 +1258,14 @@ get_custom_mounts ()
                        continue
                fi
 
-               local include_list="${backing}/${persistence_list}"
-               if [ ! -r "${include_list}" ]
+               local include_list
+               if [ -r "${backing}/${persistence_list}" ]
                then
+                       include_list="${backing}/${persistence_list}"
+               elif [ -r "${backing}/${old_persistence_list}" ]
+               then
+                       include_list="${backing}/${old_persistence_list}"
+               else
                        continue
                fi