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:
parent
bde3971991
commit
8bf95d37d3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user