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 | |
parent | e0669e9cd3c769ad4d14c3d410653a111b53d579 (diff) | |
download | mtk-20170518-0f149688a66387671b22a8eadb2e69899268abeb.zip mtk-20170518-0f149688a66387671b22a8eadb2e69899268abeb.tar.gz mtk-20170518-0f149688a66387671b22a8eadb2e69899268abeb.tar.bz2 |
preinit: use grep -q where applicable
SVN-Revision: 19481
Diffstat (limited to 'target/linux/ifxmips')
-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 e2cf52d..7008928 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 } |