X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive;h=fd0da8ba0f1e7717ac38c42b8158719806e21395;hb=dee9ff7b470820bd9d1c541a25c9341b79a511f0;hp=5be6fe2cc73728ebd43463a0e5d32ca7972ab352;hpb=70a9dab081cfdf5452aab04c7fe3ffee8684a836;p=live-boot-grml.git diff --git a/scripts/live b/scripts/live index 5be6fe2..fd0da8b 100755 --- a/scripts/live +++ b/scripts/live @@ -1151,9 +1151,16 @@ setup_unionfs () # snapshots to be sure to really store some e.g key config files, # but not on the same media blacklistdev="${cowprobe}" + PERSISTENCE_IS_ON="1" + export PERSISTENCE_IS_ON fi # homecow just mount something on /home, this should be generalized some way homecow=$(find_cow_device "${home_persistence}" "${blacklistdev}") + if [ -b "${homecow}" ] + then + PERSISTENCE_IS_ON="1" + export PERSISTENCE_IS_ON + fi root_snapdata=$(find_snap "${root_snapshot_label}" "${blacklistdev}") # This second type should be removed when snapshot will get smarter, # hence when "/etc/live-snapshot*list" will be supported also by