[arch-releng] [PATCH 1/1] launch interactive shell if ipconfig fails

Gerardo Exequiel Pozzi vmlinuz386 at gmail.com
Thu May 28 15:07:33 UTC 2015


On 05/27/2015 07:30 AM, Christian Hesse wrote:
> From: Christian Hesse <mail at eworm.de>
> 
> Signed-off-by: Christian Hesse <mail at eworm.de>
> ---
>  archiso/initcpio/hooks/archiso_pxe_common | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/archiso/initcpio/hooks/archiso_pxe_common b/archiso/initcpio/hooks/archiso_pxe_common
> index d8ac709..59828c7 100644
> --- a/archiso/initcpio/hooks/archiso_pxe_common
> +++ b/archiso/initcpio/hooks/archiso_pxe_common
> @@ -25,7 +25,7 @@ run_hook () {
>          fi
>  
>          # setup network and save some values
> -        ipconfig "ip=${ip}"
> +        ipconfig "ip=${ip}" || launch_interactive_shell
>  
>          . /tmp/net-*.conf
>  
> 

Hi,

I do not remember now, this can fail silently? In this case a message
before launch_ should be printed.

Thanks you!


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-releng/attachments/20150528/bc1015df/attachment.asc>


More information about the arch-releng mailing list