summaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/nfs
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-01 00:34:34 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-01 00:34:34 +0000
commit2f5acbe118b80db2c38dfa804472d961bbcbfa09 (patch)
treecfcc0cd5a9608dd977402ca075ec807ccda2ff91 /target/linux/ifxmips/nfs
parent253b01dbdccfb9ec37670c26af4f0e89f1c9d7f5 (diff)
[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/nfs')
-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 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
}