summaryrefslogtreecommitdiffstats
path: root/etc/rc.initdiskless
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-09-15 16:09:28 +0000
committerrwatson <rwatson@FreeBSD.org>2005-09-15 16:09:28 +0000
commit32a45dd89e052b5b59f8cdde303861e41a0069d8 (patch)
tree0b9e95296145cf453e636b130d1778b71a15941d /etc/rc.initdiskless
parent1928ff74ad0f1d84c67bf35abae319dd3821cc01 (diff)
downloadFreeBSD-src-32a45dd89e052b5b59f8cdde303861e41a0069d8.zip
FreeBSD-src-32a45dd89e052b5b59f8cdde303861e41a0069d8.tar.gz
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
Diffstat (limited to 'etc/rc.initdiskless')
-rw-r--r--etc/rc.initdiskless2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless
index 6234f6e..1b40f3b 100644
--- a/etc/rc.initdiskless
+++ b/etc/rc.initdiskless
@@ -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
OpenPOWER on IntegriCloud