aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2018-02-02 18:57:29 +0100
committerTharre <tharre3@gmail.com>2018-02-06 14:37:31 +0100
commitce99356ca573461fa5a5a7e6320543ba434c1189 (patch)
treef9b4d1f1786e54e15a75cbd0455307acdd177258
parent4a8378a672a327af2467b492ea7b80fec706e036 (diff)
downloadpkgbuilds-ce99356ca573461fa5a5a7e6320543ba434c1189.tar.gz
pkgbuilds-ce99356ca573461fa5a5a7e6320543ba434c1189.tar.xz
pkgbuilds-ce99356ca573461fa5a5a7e6320543ba434c1189.zip
arch-system: add sysctl.conf (REISUB)
-rw-r--r--arch-system/PKGBUILD4
-rw-r--r--arch-system/etc-sysctl.conf1
2 files changed, 4 insertions, 1 deletions
diff --git a/arch-system/PKGBUILD b/arch-system/PKGBUILD
index a07b56d..3aa5b9d 100644
--- a/arch-system/PKGBUILD
+++ b/arch-system/PKGBUILD
@@ -10,7 +10,7 @@ url=""
license=('custom')
source=('base-system.install' 'etc-pacman.conf' 'etc-locale.conf'
'etc-locale.gen' 'etc-vconsole.conf' 'mirrorupgrade.hook'
- 'sudoers-wheel' 'etc-nsswitch.conf'
+ 'sudoers-wheel' 'etc-nsswitch.conf' 'etc-sysctl.conf'
'xps13-i915.conf')
sha256sums=('bb00c42f2802c12536c46700b948d41a43153d97a6986827b7c61203880e1ad1'
@@ -21,6 +21,7 @@ sha256sums=('bb00c42f2802c12536c46700b948d41a43153d97a6986827b7c61203880e1ad1'
'79ba5fdf0c69686ea0f2770c9b49b58ca26ebcce15e346d5bd56a442e684896e'
'62c1a085f7a9d1c5d57b40516fea5d7e8dfb3593d5c0a713cd571c8e5bae2584'
'9c1648e1e9219efbe1e4098952f7595f1ebb0eca629d2c8957079186c56d1822'
+ '67b6ebe8a8e52cd60266f418b7af77c2ef0b2b6596de494ec5c37824f355a3ae'
'4e30b6dc062849a8217f419ca4752f062a8dafbbfb1f6f24ba894eb8dc78c736')
package_base-system() {
@@ -35,6 +36,7 @@ package_base-system() {
install -dm0750 "$pkgdir"/etc/sudoers.d/
install -Dm0644 sudoers-wheel "$pkgdir"/etc/sudoers.d/wheel
install -Dm0644 etc-nsswitch.conf "$pkgdir"/etc/nsswitch.conf
+ install -Dm0644 etc-sysctl.conf "$pkgdir"/etc/sysctl.d/99-sysctl.conf
ln -s /usr/share/zoneinfo/Europe/Berlin "$pkgdir"/etc/localtime
}
diff --git a/arch-system/etc-sysctl.conf b/arch-system/etc-sysctl.conf
new file mode 100644
index 0000000..3613892
--- /dev/null
+++ b/arch-system/etc-sysctl.conf
@@ -0,0 +1 @@
+kernel.sysrq = 1