summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
index 30641dac88..c3244b4602 100644
--- a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
+++ b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
@@ -54,7 +54,7 @@ if [ "x$D" = "x" ] && [ -e /proc/consoles ]; then
for i in $tmp
do
j=`echo ${i} | sed s/^.*\;//g`
- if [ -z "`cat /proc/consoles | grep ${j}`" ]; then
+ if [ -z "`grep ${j} /proc/consoles`" ]; then
sed -i /^.*${j}$/d /etc/inittab
fi
done