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.
This commit is contained in:
David Runge 2021-04-25 16:54:06 +02:00
parent bde3971991
commit 8bf95d37d3
No known key found for this signature in database
GPG Key ID: 7258734B41C31549

View File

@ -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