preinit: use grep -q where applicable

SVN-Revision: 19481
lede-17.01
Jo-Philipp Wich 2010-02-01 00:34:34 +00:00
parent e0669e9cd3
commit 0f149688a6
1 changed files with 1 additions and 1 deletions

View File

@ -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
}