diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-02-01 00:34:34 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-02-01 00:34:34 +0000 |
commit | 0f149688a66387671b22a8eadb2e69899268abeb (patch) | |
tree | aeaadca2bff19cb6873fdeafeae58819a337a9a6 /target/linux/ifxmips/nfs | |
parent | e0669e9cd3c769ad4d14c3d410653a111b53d579 (diff) | |
download | master-31e0f0ae-0f149688a66387671b22a8eadb2e69899268abeb.tar.gz master-31e0f0ae-0f149688a66387671b22a8eadb2e69899268abeb.tar.bz2 master-31e0f0ae-0f149688a66387671b22a8eadb2e69899268abeb.zip |
preinit: use grep -q where applicable
SVN-Revision: 19481
Diffstat (limited to 'target/linux/ifxmips/nfs')
-rw-r--r-- | target/linux/ifxmips/nfs/base-files/lib/preinit/01_init_nfs_ifxmips | 2 |
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 } |