X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F08persistence_excludes;h=b7aac9226e309ba75ed23bfba1ffbd8d1994ecba;hb=e1f1b6e7af1c7d602ffc0d2879dc9ff19bd19583;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..b7aac92 100755 --- a/scripts/live-bottom/08persistence_excludes +++ b/scripts/live-bottom/08persistence_excludes @@ -35,7 +35,7 @@ fi # live-initramfs 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