Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2016-05-28 23:36:56 +0200
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2016-05-29 13:58:04 -0300
commit50da696b5ad6be6a4ff98b961efbc37621aaa209 (patch)
tree1d6093baa57327ac606aafddb6d3fe9ddafaf59f
parenta9e7b0d50b3068a68102fd23badf3b94c05ff0e8 (diff)
fix indention and add EditorConfig configuration
Signed-off-by: Christian Hesse <mail@eworm.de>
-rw-r--r--.editorconfig15
-rw-r--r--archiso/initcpio/hooks/archiso_pxe_nbd2
2 files changed, 16 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..4fa38d5
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,15 @@
+# EditorConfig configuration for archiso
+# http://EditorConfig.org
+
+# Top-most EditorConfig file
+root = true
+
+# Unix-style newlines without trailing whitespaces, but with a newline
+# ending every file, utf-8 charset, set indent to spaces with width of four
+[*]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+charset = utf-8
+indent_style = space
+indent_size = 4
diff --git a/archiso/initcpio/hooks/archiso_pxe_nbd b/archiso/initcpio/hooks/archiso_pxe_nbd
index 532a7e1..4fb7fa5 100644
--- a/archiso/initcpio/hooks/archiso_pxe_nbd
+++ b/archiso/initcpio/hooks/archiso_pxe_nbd
@@ -3,7 +3,7 @@
run_earlyhook() {
if [[ -n "${ip}" && -n "${archiso_nbd_srv}" ]]; then
# Module autoloading like with loop devices does not work, doing manually...
- modprobe nbd 2> /dev/null
+ modprobe nbd 2> /dev/null
fi
}