[arch-releng] [PATCH 1/1] launch interactive shell if ipconfig fails
From: Christian Hesse <mail@eworm.de> Signed-off-by: Christian Hesse <mail@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 -- 2.4.1
On 05/27/2015 07:30 AM, Christian Hesse wrote:
From: Christian Hesse <mail@eworm.de>
Signed-off-by: Christian Hesse <mail@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!
Gerardo Exequiel Pozzi <vmlinuz386@gmail.com> on Thu, 2015/05/28 12:07:
On 05/27/2015 07:30 AM, Christian Hesse wrote:
From: Christian Hesse <mail@eworm.de>
Signed-off-by: Christian Hesse <mail@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.
In my case it complained... Anything about "no network interface to configure" or similar. Would you like to have an extra message? -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Chris get my mail address: */=0;b=c[a++];) putchar(b-1/(/* gcc -o sig sig.c && ./sig */b/42*2-3)*42);}
On 05/28/2015 12:23 PM, Christian Hesse wrote:
Gerardo Exequiel Pozzi <vmlinuz386@gmail.com> on Thu, 2015/05/28 12:07:
On 05/27/2015 07:30 AM, Christian Hesse wrote:
From: Christian Hesse <mail@eworm.de>
Signed-off-by: Christian Hesse <mail@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.
In my case it complained... Anything about "no network interface to configure" or similar. Would you like to have an extra message?
Yes please. Like when some mount fails.
participants (2)
-
Christian Hesse
-
Gerardo Exequiel Pozzi