X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F08persistence_excludes;h=633f6ac7346e1993db1c93adac6721859c568009;hb=285412f944154e428f9da10f0e270aa85afe9276;hp=b7aac9226e309ba75ed23bfba1ffbd8d1994ecba;hpb=b3416142f2a676acbfca0738ea386d40bef74313;p=live-boot-grml.git diff --git a/scripts/live-bottom/08persistence_excludes b/scripts/live-bottom/08persistence_excludes index b7aac92..633f6ac 100755 --- a/scripts/live-bottom/08persistence_excludes +++ b/scripts/live-bottom/08persistence_excludes @@ -24,16 +24,16 @@ case "${1}" in ;; esac -# live-initramfs header +# live-boot header -if [ -z "${PERSISTENT}" ] || [ -n "${NOPERSISTENT}" ] || [ -z "${PERSISTENCE_IS_ON}" ] || [ ! -f /root/etc/live-persistence.binds ] +if [ -z "${PERSISTENCE}" ] || [ -n "${NOPERSISTENCE}" ] || [ -z "${PERSISTENCE_IS_ON}" ] || [ ! -f /root/etc/live-persistence.binds ] then exit 0 fi . /scripts/live-functions -# live-initramfs script +# live-boot script dirs="$(sed -e '/^ *$/d' -e '/^#.*$/d' /root/etc/live-persistence.binds | tr '\n' '\0')" if [ -z "${dirs}" ]