mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
Use sysctl -q when querying for kern.bootp_cookie in order to avoid
printing boot-time errors that don't reflect true error conditions. MFC after: 1 week
This commit is contained in:
parent
8729849a45
commit
8ed695309f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150169
@ -191,7 +191,7 @@ if [ ${dlv:=0} -ne 0 ] ; then
|
||||
fi
|
||||
done
|
||||
# Get the values passed with the T134 bootp cookie.
|
||||
class="`/sbin/sysctl -n kern.bootp_cookie`"
|
||||
class="`/sbin/sysctl -qn kern.bootp_cookie`"
|
||||
|
||||
echo "Interface ${bootp_ifc} IP-Address ${bootp_ipa} Broadcast ${bootp_ipbca} ${class}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user