From 2f5acbe118b80db2c38dfa804472d961bbcbfa09 Mon Sep 17 00:00:00 2001 From: jow Date: Mon, 1 Feb 2010 00:34:34 +0000 Subject: [ifxmips] preinit: use grep -q where applicable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19481 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/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 e2cf52dc4..700892820 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 } -- cgit v1.2.3