aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips
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
commite51e305a155d7bc07ced088540c53c81c6d712d0 (patch)
treecfcc0cd5a9608dd977402ca075ec807ccda2ff91 /target/linux/ifxmips
parent0c277a31de67c6f1df016e07f571e9b05fc6fdda (diff)
downloadupstream-e51e305a155d7bc07ced088540c53c81c6d712d0.tar.gz
upstream-e51e305a155d7bc07ced088540c53c81c6d712d0.tar.bz2
upstream-e51e305a155d7bc07ced088540c53c81c6d712d0.zip
[ifxmips] preinit: use grep -q where applicable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19481 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ifxmips')
-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
}