X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F08persistence_excludes;h=43639f9c74954300424542d05b2784416322a9e2;hb=e66f79476042794195978ee641aa7ea0d9ca6e0a;hp=bc5c4d872971cb7a702f6b0bd4d6ff1d92ade9bd;hpb=a298ae49a77f528b0d57e013343473bb5162cd61;p=live-boot-grml.git diff --git a/scripts/live-bottom/08persistence_excludes b/scripts/live-bottom/08persistence_excludes index bc5c4d8..43639f9 100755 --- a/scripts/live-bottom/08persistence_excludes +++ b/scripts/live-bottom/08persistence_excludes @@ -24,7 +24,7 @@ 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 ] then @@ -33,9 +33,9 @@ fi . /scripts/live-functions -# live-initramfs script +# live-boot script -dirs="$(cat /root/etc/live-persistence.binds | grep -v '^#.*$' | grep -v '^ *$' | tr '\n' '\0')" +dirs="$(sed -e '/^ *$/d' -e '/^#.*$/d' /root/etc/live-persistence.binds | tr '\n' '\0')" if [ -z "${dirs}" ] then exit 0