s/grep/grep -q

Submitted by: ru
This commit is contained in:
Dan Moschuk 2000-03-27 16:36:25 +00:00
parent f68c4d880f
commit b4479f319e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58678

2
etc/rc
View File

@ -201,7 +201,7 @@ case ${ipv6_enable} in
esac
# Mount NFS filesystems if present in /etc/fstab
if mount -d -a -t nfs | grep nfs >/dev/null 2>&1; then
if mount -d -a -t nfs | grep -q nfs >/dev/null 2>&1; then
echo -n "Mounting NFS file systems"
mount -a -t nfs
echo .