preinit: use grep -q where applicable
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 1 Feb 2010 00:34:34 +0000 (00:34 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 1 Feb 2010 00:34:34 +0000 (00:34 +0000)
SVN-Revision: 19481

target/linux/ifxmips/nfs/base-files/lib/preinit/01_init_nfs_ifxmips

index e2cf52dc4e7304eb269e8aef333504ee55d6d6a3..70089282046a17568de1b1442d5cd6f6261dc19a 100644 (file)
@@ -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
        }