Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/initcpio/hooks/archiso_pxe_common
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2021-04-25 16:54:06 +0200
committerDavid Runge <dvzrv@archlinux.org>2021-04-30 17:51:30 +0200
commit8bf95d37d3c7d50cd6c452a57d0706ced1db6f89 (patch)
tree1e1be3edde2d45edd0a15f7de9906b90f52e64d0 /archiso/initcpio/hooks/archiso_pxe_common
parentbde397199126e0aa49f5162ace370e55f6ab2a51 (diff)
Ignore SC3060 in initcpio hook
archiso/initcpio/hooks/archiso_pxe_common: Disable shellcheck's SC3060, as ash is able to do bash-like string replacements.
Diffstat (limited to 'archiso/initcpio/hooks/archiso_pxe_common')
-rw-r--r--archiso/initcpio/hooks/archiso_pxe_common2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiso/initcpio/hooks/archiso_pxe_common b/archiso/initcpio/hooks/archiso_pxe_common
index a47b6c0..00507cb 100644
--- a/archiso/initcpio/hooks/archiso_pxe_common
+++ b/archiso/initcpio/hooks/archiso_pxe_common
@@ -13,7 +13,7 @@ run_hook () {
if [ -n "${ip}" ]; then
if [ -n "${BOOTIF}" ]; then
bootif_mac="${BOOTIF#01-}"
- # shellcheck disable=SC2169
+ # shellcheck disable=SC2169,SC3060
# ash supports bash-like string replacment
bootif_mac="${bootif_mac//-/:}"
for i in /sys/class/net/*/address; do