summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2019-01-12 17:05:00 +0000
committerkettenis <kettenis@openbsd.org>2019-01-12 17:05:00 +0000
commitb38e49aed1d8fdb5c8b0ba8fd44a249e4daed877 (patch)
tree6757e6aaf5194ebfee73607dab0c6915da5211de
parentAdd -q flag to suppress the message that ACPI information can't be found. (diff)
downloadwireguard-openbsd-b38e49aed1d8fdb5c8b0ba8fd44a249e4daed877.tar.xz
wireguard-openbsd-b38e49aed1d8fdb5c8b0ba8fd44a249e4daed877.zip
Use acpidump -q to avoid message about ACPI information not being found.
Many arm64 systems use device trees instead of ACPI and acpidump is expectected to fail on those systems. And vmm(4) doesn't provide ACPI information either. ok deraadt@
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 003074614ac..fc7fd989abd 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.529 2018/07/23 11:54:49 florian Exp $
+# $OpenBSD: rc,v 1.530 2019/01/12 17:05:00 kettenis Exp $
# System startup script run by init on autoboot or after single-user.
# Output and error are redirected to console by init, and the console is the
@@ -507,7 +507,7 @@ fi
# Store ACPI tables in /var/db/acpi to be used by sendbug(1).
if [[ -x /usr/sbin/acpidump ]]; then
- acpidump -o /var/db/acpi/
+ acpidump -q -o /var/db/acpi/
fi
if [[ $check_quotas == YES ]]; then