Be consistent in using 0/1 for True/False values instead of English representations.
authorChris Lamb <lamby@debian.org>
Tue, 30 Sep 2008 23:57:25 +0000 (00:57 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:02 +0000 (17:48 +0100)
scripts/live

index 0f4ef0d..fd0da8b 100755 (executable)
@@ -1151,14 +1151,14 @@ 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="Yes"
+                       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="Yes"
+                       PERSISTENCE_IS_ON="1"
                        export PERSISTENCE_IS_ON
                fi
                root_snapdata=$(find_snap "${root_snapshot_label}" "${blacklistdev}")