From a8ca68a91eb8180f86123ad0bb5cebff9546e79e Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 7 May 2010 11:02:31 +0200 Subject: [PATCH] plymouth/plymouth-populate-initrd: get rid of awk --- modules.d/50plymouth/plymouth-populate-initrd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3