summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/mtree/4.4BSD.dist4
-rw-r--r--etc/rc7
2 files changed, 9 insertions, 2 deletions
diff --git a/etc/mtree/4.4BSD.dist b/etc/mtree/4.4BSD.dist
index 9935ca4e9fe..6fb1f79a8db 100644
--- a/etc/mtree/4.4BSD.dist
+++ b/etc/mtree/4.4BSD.dist
@@ -1,4 +1,4 @@
-# $OpenBSD: 4.4BSD.dist,v 1.289 2016/09/07 18:31:00 jmc Exp $
+# $OpenBSD: 4.4BSD.dist,v 1.290 2016/09/27 20:18:34 rpe Exp $
/set type=dir uname=root gname=wheel mode=0755
@@ -623,6 +623,8 @@ var
# ./var/db
db
+ acpi
+ ..
ldap mode=0700
..
ns
diff --git a/etc/rc b/etc/rc
index 69b315d20a5..d0605a21610 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.486 2016/07/10 09:08:18 rpe Exp $
+# $OpenBSD: rc,v 1.487 2016/09/27 20:18:34 rpe 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
@@ -451,6 +451,11 @@ if [[ -d /var/crash ]]; then
savecore $savecore_flags /var/crash
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/
+fi
+
if [[ $check_quotas == YES ]]; then
echo -n 'checking quotas:'
quotacheck -a