index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | nl6720 <nl6720@gmail.com> | 2020-07-16 15:49:23 +0300 |
---|---|---|
committer | nl6720 <nl6720@gmail.com> | 2020-07-17 10:42:14 +0300 |
commit | 85d3c7c533e1485451997122923b5d30390cb42a (patch) | |
tree | d90e7e18be55b68047199eaafaf296e74ee3505e /hooks/archiso_pxe_common | |
parent | a32477d27a12fa4b40538cbc7505a96138177192 (diff) |
-rw-r--r-- | hooks/archiso_pxe_common | 9 |
diff --git a/hooks/archiso_pxe_common b/hooks/archiso_pxe_common index e31903e..bf8e883 100644 --- a/hooks/archiso_pxe_common +++ b/hooks/archiso_pxe_common @@ -11,7 +11,8 @@ run_hook () { if [ -n "${ip}" ]; then if [ -n "${BOOTIF}" ]; then bootif_mac="${BOOTIF#01-}" - # shellcheck disable=SC2169 # ash supports bash-like string replacment + # shellcheck disable=SC2169 + # ash supports bash-like string replacment bootif_mac="${bootif_mac//-/:}" for i in /sys/class/net/*/address; do read -r net_mac < "${i}" @@ -36,7 +37,8 @@ run_hook () { launch_interactive_shell fi - # shellcheck disable=SC1090 # ipconfig generates these files + # shellcheck disable=SC1090 + # ipconfig generates these files . /tmp/net-*.conf export pxeserver="${ROOTSERVER}" @@ -60,7 +62,8 @@ run_latehook () { if [ -n "${ip}" ]; then [ -z "${copy_resolvconf}" ] && copy_resolvconf="y" - # shellcheck disable=SC2154 # defined via initcpio's parse_cmdline() + # shellcheck disable=SC2154 + # defined via initcpio's parse_cmdline() if [ "${copytoram}" = "y" ]; then if [ -n "${bootif_dev}" ]; then ip addr flush dev "${bootif_dev}" |