Add --quiet to mountinfo

This commit is contained in:
Roy Marples
2007-09-03 14:02:15 +00:00
parent a166958537
commit 52f7df0d0c
4 changed files with 18 additions and 12 deletions

View File

@@ -199,7 +199,7 @@ fi
# Mount the new fancy pants /dev/pts whenever possible
if grep -Eq "[[:space:]]+devpts$" /proc/filesystems && \
! mountinfo /dev/pts > /dev/null ; then
! mountinfo -q /dev/pts ; then
if [ ! -d /dev/pts ] && \
[ "${devfs}" = "yes" -o "${udev}" = "yes" ] ; then
# Make sure we have /dev/pts