From 37529a96766a5841fc6561acfbfbf42b3d6ff98a Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 31 Jul 2021 16:32:48 +0200 Subject: Fix formatting with shfmt {hooks,install,script}/*: Fix formatting in all scripts using shfmt. Replace a few echo calls with printf. --- hooks/archiso_pxe_nbd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hooks/archiso_pxe_nbd') diff --git a/hooks/archiso_pxe_nbd b/hooks/archiso_pxe_nbd index 8ac44e7..2e363d9 100644 --- a/hooks/archiso_pxe_nbd +++ b/hooks/archiso_pxe_nbd @@ -7,7 +7,7 @@ run_earlyhook() { # defined via initcpio's parse_cmdline() 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 } @@ -21,7 +21,7 @@ run_hook() { fi } -archiso_pxe_nbd_mount_handler () { +archiso_pxe_nbd_mount_handler() { newroot="${1}" msg ":: Waiting for boot device..." -- cgit v1.2.3-54-g00ecf