aboutsummaryrefslogtreecommitdiff
path: root/src/kexec-tools/kexec.conf.d
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2013-05-25 23:02:35 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2013-05-25 23:02:35 +0200
commiteeda5d3cf7da337119e257fa99ac77542514350f (patch)
treea510caa2e1fc6f5b35db20681931e9b51f5d405b /src/kexec-tools/kexec.conf.d
parent57cd084ff2f96f001045a8849b68877e9db2f6d0 (diff)
downloadrcdscripts-2013.05.25.tar.xz
rcdscripts: import conf.d files sourced by init scripts2013.05.25
Unfortunately this import is not perfect, it's harder to detect and make a distinction between regular service configuration files, and conf.d configuration files used by old Arch Linux init scripts only. But we have a good number of them, around 70 now.
Diffstat (limited to 'src/kexec-tools/kexec.conf.d')
-rw-r--r--src/kexec-tools/kexec.conf.d16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/kexec-tools/kexec.conf.d b/src/kexec-tools/kexec.conf.d
new file mode 100644
index 0000000..991a7a2
--- /dev/null
+++ b/src/kexec-tools/kexec.conf.d
@@ -0,0 +1,16 @@
+#
+# Configuration for Kexec
+#
+
+# Path to kernel, default to stock arch kernel
+KPATH="/boot/vmlinuz-linux"
+
+# Root partition
+# The default attempts to autodetect
+ROOTPART="$(awk '/^[ \t]*[^#]/ { if ($2 == "/") { print $1; }}' /etc/fstab)"
+
+# Additional kernel parameters
+KPARAM="ro"
+
+# Path to initrd image, default to stock arch kernel
+INITRD="/boot/initramfs-linux.img"