From 0f149688a66387671b22a8eadb2e69899268abeb Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 1 Feb 2010 00:34:34 +0000 Subject: [PATCH] preinit: use grep -q where applicable SVN-Revision: 19481 --- .../ifxmips/nfs/base-files/lib/preinit/01_init_nfs_ifxmips | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ifxmips/nfs/base-files/lib/preinit/01_init_nfs_ifxmips b/target/linux/ifxmips/nfs/base-files/lib/preinit/01_init_nfs_ifxmips index e2cf52dc4e..7008928204 100644 --- a/target/linux/ifxmips/nfs/base-files/lib/preinit/01_init_nfs_ifxmips +++ b/target/linux/ifxmips/nfs/base-files/lib/preinit/01_init_nfs_ifxmips @@ -2,7 +2,7 @@ init_nfs() { - grep "/dev/root" /proc/mounts |grep -q nfs && { + grep "/dev/root" /proc/mounts | grep -q nfs && { echo "- init nfs -" exec /sbin/init } -- 2.30.2