From: Harald Hoyer Date: Fri, 7 May 2010 09:02:31 +0000 (+0200) Subject: plymouth/plymouth-populate-initrd: get rid of awk X-Git-Tag: 006~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8ca68a91eb8180f86123ad0bb5cebff9546e79e;p=thirdparty%2Fdracut.git plymouth/plymouth-populate-initrd: get rid of awk --- diff --git a/modules.d/50plymouth/plymouth-populate-initrd b/modules.d/50plymouth/plymouth-populate-initrd index b35a46fd1..effb0f965 100755 --- a/modules.d/50plymouth/plymouth-populate-initrd +++ b/modules.d/50plymouth/plymouth-populate-initrd @@ -30,7 +30,7 @@ if [[ $hostonly ]]; then if [ -L /usr/share/plymouth/themes/default.plymouth ]; then inst /usr/share/plymouth/themes/default.plymouth # Install plugin for this theme - PLYMOUTH_PLUGIN=$(grep "^ModuleName=" /usr/share/plymouth/themes/default.plymouth |awk -F= {'print $2'}) + PLYMOUTH_PLUGIN=$(grep "^ModuleName=" /usr/share/plymouth/themes/default.plymouth | while read a b c; do echo $b; done;) inst ${LIBDIR}/plymouth/${PLYMOUTH_PLUGIN}.so fi else