fix indention and add EditorConfig configuration
Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
a9e7b0d50b
commit
50da696b5a
15
.editorconfig
Normal file
15
.editorconfig
Normal file
@ -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
|
@ -3,7 +3,7 @@
|
|||||||
run_earlyhook() {
|
run_earlyhook() {
|
||||||
if [[ -n "${ip}" && -n "${archiso_nbd_srv}" ]]; then
|
if [[ -n "${ip}" && -n "${archiso_nbd_srv}" ]]; then
|
||||||
# Module autoloading like with loop devices does not work, doing manually...
|
# Module autoloading like with loop devices does not work, doing manually...
|
||||||
modprobe nbd 2> /dev/null
|
modprobe nbd 2> /dev/null
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user