aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-02-01 00:34:34 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-02-01 00:34:34 +0000
commit0f149688a66387671b22a8eadb2e69899268abeb (patch)
treeaeaadca2bff19cb6873fdeafeae58819a337a9a6 /target/linux
parente0669e9cd3c769ad4d14c3d410653a111b53d579 (diff)
downloadupstream-0f149688a66387671b22a8eadb2e69899268abeb.tar.gz
upstream-0f149688a66387671b22a8eadb2e69899268abeb.tar.bz2
upstream-0f149688a66387671b22a8eadb2e69899268abeb.zip
preinit: use grep -q where applicable
SVN-Revision: 19481
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ifxmips/nfs/base-files/lib/preinit/01_init_nfs_ifxmips2
1 files changed, 1 insertions, 1 deletions
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
}