diff options
| author | Marco Amadori <marco.amadori@gmail.com> | 2008-10-11 23:31:22 +0200 | 
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:02 +0100 | 
| commit | b3416142f2a676acbfca0738ea386d40bef74313 (patch) | |
| tree | ee906f0e8e90b74fe3ab76c15a760b940cf9e4ee /scripts/live-bottom/08persistence_excludes | |
| parent | f631495de9586b0be892226bcdcf6802d8fc2143 (diff) | |
| download | live-boot-b3416142f2a676acbfca0738ea386d40bef74313.tar.gz live-boot-b3416142f2a676acbfca0738ea386d40bef74313.zip | |
Removed all "cat | grep", with grep, awk and sed.
Diffstat (limited to 'scripts/live-bottom/08persistence_excludes')
| -rwxr-xr-x | scripts/live-bottom/08persistence_excludes | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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 | 
