summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-09-13 19:06:01 +0200
committerMichał Górny <mgorny@gentoo.org>2013-09-13 19:06:01 +0200
commit5fb3202a173f350d20ba6d77736f44b84b2e0c16 (patch)
tree0f67e78b08c29ef87f71e4c5004c95a2a8132694
parentBump to v1. (diff)
downloadgentoo-systemd-integration-5fb3202a173f350d20ba6d77736f44b84b2e0c16.tar.gz
gentoo-systemd-integration-5fb3202a173f350d20ba6d77736f44b84b2e0c16.tar.bz2
gentoo-systemd-integration-5fb3202a173f350d20ba6d77736f44b84b2e0c16.zip
Enable sysrq by default as suggested by Enrico Tagliavini.
-rw-r--r--Makefile.am2
-rw-r--r--sysctl.d/60-gentoo.conf2
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 778f8f8..5eac9e7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,6 +3,8 @@ DISTCHECK_CONFIGURE_FLAGS = \
--with-systemdsystemunitdir=\$${libdir}/systemd/system \
--with-systemdsystemgeneratordir=\$${libdir}/systemd/system-generators
+dist_sysctl_DATA = \
+ sysctl.d/60-gentoo.conf
dist_tmpfiles_DATA = \
tmpfiles.d/gentoo-run.conf
dist_systemdsystemunit_DATA = \
diff --git a/sysctl.d/60-gentoo.conf b/sysctl.d/60-gentoo.conf
new file mode 100644
index 0000000..d57be5f
--- /dev/null
+++ b/sysctl.d/60-gentoo.conf
@@ -0,0 +1,2 @@
+# Allow all sysrq by Gentoo default.
+kernel.sysrq = 1