summaryrefslogtreecommitdiff
path: root/archiso/initcpio/hooks/archiso_pxe_nfs
diff options
context:
space:
mode:
Diffstat (limited to 'archiso/initcpio/hooks/archiso_pxe_nfs')
-rw-r--r--archiso/initcpio/hooks/archiso_pxe_nfs6
1 files changed, 4 insertions, 2 deletions
diff --git a/archiso/initcpio/hooks/archiso_pxe_nfs b/archiso/initcpio/hooks/archiso_pxe_nfs
index 406541b..be1e4c3 100644
--- a/archiso/initcpio/hooks/archiso_pxe_nfs
+++ b/archiso/initcpio/hooks/archiso_pxe_nfs
@@ -1,7 +1,8 @@
#!/bin/ash
run_hook() {
- # shellcheck disable=SC2154 # defined via initcpio's parse_cmdline()
+ # shellcheck disable=SC2154
+ # defined via initcpio's parse_cmdline()
if [ -n "${ip}" ] && [ -n "${archiso_nfs_srv}" ]; then
archiso_nfs_srv=$(eval echo "${archiso_nfs_srv}")
@@ -15,7 +16,8 @@ archiso_nfs_mount_handler() {
newroot="${1}"
mkdir -p "/run/archiso/bootmnt"
msg ":: Mounting '${archiso_nfs_srv}'"
- # shellcheck disable=SC2154 # defined via initcpio's parse_cmdline()
+ # shellcheck disable=SC2154
+ # defined via initcpio's parse_cmdline()
if [ -n "${archiso_nfs_opt}" ]; then
nfsmount -o "${archiso_nfs_opt}" "${archiso_nfs_srv}" "/run/archiso/bootmnt"
mount_status=$?